diff --git a/bin/mpd-monitor b/bin/mpd-monitor index 91af9ff..8a025d2 100755 --- a/bin/mpd-monitor +++ b/bin/mpd-monitor @@ -1,7 +1,7 @@ #!/bin/sh # quit if another instance is already running -if [ $(pidof mpd-monitor >/dev/null) ];then +if [ -n $(pidof mpc idleloop) ];then echo "mpd-monitor already running" exit fi