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 8912543..672e704 100755
--- a/shutdownasap.in
+++ b/shutdownasap.in
@@ -117,7 +117,7 @@ do
for s in "${!shutDownNoGoProcesses[@]}"
do
- if pgrep -af "\(\s\|/\)${shutDownNoGoProcesses[${s}]}\(\$\|\s\)"
+ if pgrep -af "(\s|/)${shutDownNoGoProcesses[${s}]}(\$|\s)"
then
nochwarten=true
if ! ${quiet}; then