package/mpd/S95mpd: do not wait for exit if sending stop failed

If sending the stop signal failed for whatever reason, waiting for an
existing PID file to disappear is likely to block indefinitely.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
Tested-by: Andreas Ziegler <br025@umbiko.net>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
This commit is contained in:
Fiona Klute
2026-06-06 20:20:30 +02:00
committed by Marcus Hoffmann
parent 118ffb20b5
commit b2d84525f9

View File

@@ -31,6 +31,7 @@ stop() {
echo "OK"
else
echo "FAIL"
return "$status"
fi
# $DAEMON deletes its PID file on exit, wait for it to be gone
while [ -f "$PIDFILE" ]; do