On Fri, Oct 12, 2012 at 06:55:28AM -0400, Sergey Fadeev wrote: > Why doesn't it exit the shell? > $ set -e > $ echo $(false)
Because the exit status of echo is 0.
On Fri, Oct 12, 2012 at 06:55:28AM -0400, Sergey Fadeev wrote: > Why doesn't it exit the shell? > $ set -e > $ echo $(false)
Because the exit status of echo is 0.