diff options
-rwxr-xr-x | shutdownasap.in | 2 |
1 files changed, 2 insertions, 0 deletions
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 |