From 3222354d50c9cc5a50fc78059e69e423a7009d58 Mon Sep 17 00:00:00 2001 From: Kian Kasad Date: Sat, 30 May 2020 14:01:18 -0700 Subject: make use of setsid(1)'s `-f` flag (#652) Co-authored-by: Luke Smith --- .local/bin/statusbar/news | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/statusbar/news') diff --git a/.local/bin/statusbar/news b/.local/bin/statusbar/news index cbd976a..b414981 100755 --- a/.local/bin/statusbar/news +++ b/.local/bin/statusbar/news @@ -5,7 +5,7 @@ case $BLOCK_BUTTON in 1) setsid "$TERMINAL" -e newsboat ;; - 2) setsid newsup >/dev/null & exit ;; + 2) setsid -f newsup >/dev/null exit ;; 3) notify-send "📰 News module" "\- Shows unread news items - Shows 🔃 if updating with \`newsup\` - Left click opens newsboat -- cgit v1.3.1