From 145fbccbfbd6cb55ecff8ae6cbb03050dc7249e1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 5 Nov 2016 16:27:30 +0100 Subject: [PATCH] panel: fix outdated pkill pattern --- os/arch/.config/panel/panel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/arch/.config/panel/panel b/os/arch/.config/panel/panel index 2d066fd6..b559561c 100755 --- a/os/arch/.config/panel/panel +++ b/os/arch/.config/panel/panel @@ -2,7 +2,7 @@ if [ "$1" = "--kill" ] then - pkill -f '^bash .+/panel$' + pkill -f '^dash .+/panel$' exit fi @@ -12,7 +12,7 @@ CWD="$(cd $(dirname $0) && pwd -P)" # running() { pgrep -f $1 >/dev/null; } -cleanup() { rm -rf /tmp/panel-fifo-* && pkill -P $$; } +cleanup() { rm -rf "$PANEL_FIFO"; pkill -P $$; } # trap cleanup INT TERM QUIT EXIT