From 1d62411ef217c8d2fc2125beae85887e8e26b680 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 10 Dec 2015 17:20:17 +1300 Subject: Change wait to waitpid --- bin/mpdlrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mpdlrc b/bin/mpdlrc index b1871a5..bd39843 100755 --- a/bin/mpdlrc +++ b/bin/mpdlrc @@ -95,8 +95,8 @@ MPD: while (1) { # Something important happened; kill any running lyric processes if ($pid) { kill 'INT', $pid; + waitpid $pid, 0; $pid = undef; - wait; } } -- cgit v1.2.3