diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-07 01:06:31 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-07 01:06:31 +1300 |
commit | 635f9222837868687b64e7de2313cc7f1311182e (patch) | |
tree | 29462a59518cabf681c38c8cdb5baff36b7932bb /bin | |
parent | Add a Makefile (diff) | |
download | mpdlrc-635f9222837868687b64e7de2313cc7f1311182e.tar.gz mpdlrc-635f9222837868687b64e7de2313cc7f1311182e.zip |
Wait on killed processes
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mpdlrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -95,6 +95,8 @@ MPD: while (1) { # Something important happened; kill any running lyric processes if ($pid) { kill 'INT', $pid; + $pid = undef; + wait; } } |