summaryrefslogtreecommitdiff
path: root/.scripts/pidkillall
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/pidkillall')
-rwxr-xr-x.scripts/pidkillall2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/pidkillall b/.scripts/pidkillall
index afbf007..1ebc38f 100755
--- a/.scripts/pidkillall
+++ b/.scripts/pidkillall
@@ -4,6 +4,6 @@ psout=$(ps -u $USER -o pid,%cpu,%mem,comm | sed -n '1!p' | sort -b -k2 -r| cut -
//uniq without piping into sort before with the help of awk
killall $psout 2>/dev/null &&
-[ -n $psout ] && dunstify "Terminated all processes Successfully" "$psout was killed" -i skull
+[ -n "$psout" ] && dunstify "Terminated all processes Successfully" "$psout was killed" -i skull