summaryrefslogtreecommitdiff
path: root/.scripts/pidkill
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/pidkill')
-rwxr-xr-x.scripts/pidkill2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/pidkill b/.scripts/pidkill
index b44dd84..f64d624 100755
--- a/.scripts/pidkill
+++ b/.scripts/pidkill
@@ -5,5 +5,5 @@ pid=$(echo $prok | awk '{print $1}')
pname=$(echo $prok | awk '{print $4}')
kill -15 $pid 2>/dev/null &&
-[ -n $pname ] && dunstify "Terminated process Successfully" "$pname was killed" -i skull
+[ -n "$pname" ] && dunstify "Terminated process Successfully" "$pname was killed" -i skull