diff options
-rwxr-xr-x | etc/functions/off | 2 |
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 |