From: Simon Ruderich Date: Sat, 21 Jun 2014 12:27:56 +0000 (+0200) Subject: use set -eu X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=e4417dd84069be88e22e300d15dfda22875a4cff;p=config%2Fdotfiles.git use set -eu --- diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 6ba0404..963f958 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -18,7 +18,7 @@ # along with this file. If not, see . -set -e +set -eu hc() { @@ -195,6 +195,6 @@ hc rule instance=Navigator class=Iceweasel tag=2 hc unlock -# To notify me if set -e has terminated the script (then this part won't get +# To notify me if set -eu has terminated the script (then this part won't get # executed). echo 'hlwm restarted' | notify 1 diff --git a/setup.sh b/setup.sh index 6f35e22..6a26b04 100755 --- a/setup.sh +++ b/setup.sh @@ -18,7 +18,7 @@ # along with this program. If not, see . -set -e +set -eu . ../lib.sh