From e4417dd84069be88e22e300d15dfda22875a4cff Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 21 Jun 2014 14:27:56 +0200 Subject: [PATCH] use set -eu --- herbstluftwm/autostart | 4 ++-- setup.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.45.2