maybe this will work...
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# quit if another instance is already running
|
||||
if [ !$(pidof mpc idleloop > /dev/null) ]; then
|
||||
if [ -n "$(pidof mpc idleloop)" ]; then
|
||||
echo "mpd-monitor already running"
|
||||
exit
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user