This commit is contained in:
2025-12-28 14:04:16 -08:00
parent e4347e49cc
commit 8ac2a5dfe1

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# quit if another instance is already running # 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" echo "mpd-monitor already running"
exit exit
fi fi