From 352dd1c0b56a223271aef33c9a90873d4416ba51 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 29 Jul 2017 16:23:51 +0200 Subject: shutdownasap: "set -e" new --- shutdownasap.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shutdownasap.in b/shutdownasap.in index aef43c4..6184367 100755 --- a/shutdownasap.in +++ b/shutdownasap.in @@ -2,6 +2,8 @@ # shutdownasap version #VERSION# +set -e + . #ETCDIR#/shutdownasap.conf [ -r "${pidFile}" ] && ps aux | grep -q "^\S\+\s\+$(cat "${pidFile}") " && exit -- cgit v1.2.3-70-g09d2