[Slackbuilds-users] 'set -e' vs. ' || exit 1'

Niki Kovacs contact at kikinovak.net
Tue Oct 30 16:14:23 UTC 2007


Hi,

I vaguely remember this subject has been discussed, only I can't seem to 
find the thread anymore. I was just wondering today about the difference 
between 'set -e' at the beginning of a script, and adding ' || exit 1' 
at the end of each command?

Maybe if someone has kept the relevant message(s), you can forward it or 
them to me?

cheers,

Niki



More information about the Slackbuilds-users mailing list