aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/mpdlrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/mpdlrc b/bin/mpdlrc
index b127c1c..b1871a5 100755
--- a/bin/mpdlrc
+++ b/bin/mpdlrc
@@ -95,6 +95,8 @@ MPD: while (1) {
# Something important happened; kill any running lyric processes
if ($pid) {
kill 'INT', $pid;
+ $pid = undef;
+ wait;
}
}