summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshutdownasap.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/shutdownasap.in b/shutdownasap.in
index 2901e8f..6a4acc1 100755
--- a/shutdownasap.in
+++ b/shutdownasap.in
@@ -133,7 +133,7 @@ do
for s in "${!shutDownNoGoFiles[@]}"
do
- if [ -e "${shutDownNoGoFiles[${s}]}" ] && echo "${prozesse}" | grep -q "^\S\+\s\+$(cat "${shutDownNoGoFiles[${s}]}")\s"
+ if [ -e "${shutDownNoGoFiles[${s}]}" ] && [ -d "/proc/$(cat "${shutDownNoGoFiles[${s}]}")" ]
then
nochwarten=true
if ! ${quiet}; then