diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-10 17:20:17 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-10 17:20:17 +1300 |
commit | 1d62411ef217c8d2fc2125beae85887e8e26b680 (patch) | |
tree | fa2190d87c4a255c3c06838a85497fc2fa7026ee /bin | |
parent | Wait on killed processes (diff) | |
download | mpdlrc-1d62411ef217c8d2fc2125beae85887e8e26b680.tar.gz mpdlrc-1d62411ef217c8d2fc2125beae85887e8e26b680.zip |
Change wait to waitpid
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mpdlrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } } |