Chris Marusich <cmmarus...@gmail.com> writes: > Pierre Neidhardt <m...@ambrevar.xyz> writes: > > [...] > >> Shouldn't it be '"$1"/etc/profile'? And no "exec ..."?
Without the "exec", the second shell will spawn a new process. With the "exec", it will not spawn a new process. It works either way. I just decided to use "exec" to avoid spawning a new process. -- Chris
signature.asc
Description: PGP signature