From 9950792e7707e43201196b4c2853ab34965f8ff9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 5 Jan 2009 10:17:35 +0100 Subject: off: D'oh. Use pgrep -x --- etc/functions/off | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/functions') diff --git a/etc/functions/off b/etc/functions/off index 98922a2..c57d3a2 100755 --- a/etc/functions/off +++ b/etc/functions/off @@ -44,7 +44,7 @@ if [[ $force != 1 && $hosts[$HOST] == *:server:* ]] { return 1 } -if ps aux | fgrep amarokapp &> /dev/null; then +if pgrep -x amarokapp &> /dev/null; then execute dcop amarok MainApplication-Interface quit fi -- cgit v1.2.3