From 57bbdebb446c08f18992b5fdd7d8bc057ff57606 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Mon, 30 Apr 2012 12:51:36 +0200 Subject: [PATCH] Redo "Simplify usage of $GSC_PID.", which was accidently undone. --- stuff/quake2-start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stuff/quake2-start.sh b/stuff/quake2-start.sh index 219ca8c9..7b020da6 100755 --- a/stuff/quake2-start.sh +++ b/stuff/quake2-start.sh @@ -31,7 +31,7 @@ if ps auxww | grep -q 'unclutter'; then fi # if gnome-screensaver was running.. -if [ $GSC_PID -gt 0 ]; then +if [ -n "$GSC_PID" ]; then echo "reactivating gnome screensaver" - kill $GSC_PID + kill "$GSC_PID" fi