maybe this will work...

This commit is contained in:
2025-12-30 22:00:53 -08:00
parent 58b5172910
commit e4ce63af9c

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 mpc idleloop > /dev/null) ]; then if [ -n "$(pidof mpc idleloop)" ]; then
echo "mpd-monitor already running" echo "mpd-monitor already running"
exit exit
fi fi