changeset 495:7931adb82ce7

bin/setup-X.sh
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 13 Aug 2013 23:07:44 -0700
parents c461ffb7af8c
children f783b7d4516b
files bin/setup-X.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/setup-X.sh	Mon Aug 12 15:14:10 2013 -0700
+++ b/bin/setup-X.sh	Tue Aug 13 23:07:44 2013 -0700
@@ -4,7 +4,7 @@
 for i in nm-applet gkrellm diodon # 'synapse -s'
 # To add: x-tile; qamixer (well, some mixer); gnome-activity journal
 do
-    if ! ps aux | grep ${i} | grep -v 'grep'
+    if ! pidof ${i}
     then
         echo "not running: $i"
         if which ${i}