summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-05 10:17:35 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-05 10:17:35 +0100
commit9950792e7707e43201196b4c2853ab34965f8ff9 (patch)
tree766c4bbd6d082c639d9ea88837c740f980620117 /etc
parent963c7be5e53e6f7a2ae03377290a106a5fc95db3 (diff)
off: D'oh. Use pgrep -x
Diffstat (limited to 'etc')
-rwxr-xr-xetc/functions/off2
1 files changed, 1 insertions, 1 deletions
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