aboutsummaryrefslogtreecommitdiffstats
path: root/sway-launcher-desktop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sway-launcher-desktop.sh')
-rwxr-xr-xsway-launcher-desktop.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway-launcher-desktop.sh b/sway-launcher-desktop.sh
index 2645b33..eb70b0d 100755
--- a/sway-launcher-desktop.sh
+++ b/sway-launcher-desktop.sh
@@ -180,7 +180,7 @@ COMMAND_STR=$(
fzf +s -x -d '\034' --nth ..3 --with-nth 3 \
--preview "$0 describe {1} {2}" \
--preview-window=up:3:wrap --ansi
- kill -9 "$(<"$PIDFILE")" | tail -n1
+ (kill -9 "$(<"$PIDFILE")"; exit 0) | tail -n1
) || exit 1
[ -z "$COMMAND_STR" ] && exit 1