diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-05 12:47:24 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-12-05 12:47:24 +1300 |
commit | ffa67b572cbce29520c2cd682a28c773426ac374 (patch) | |
tree | ea6ffafc9c57b17b4c891e3ccc33a05faf6725f6 | |
parent | Add comment (diff) | |
download | mpdlrc-ffa67b572cbce29520c2cd682a28c773426ac374.tar.gz mpdlrc-ffa67b572cbce29520c2cd682a28c773426ac374.zip |
Exit child once done with printing
-rwxr-xr-x | mpdlrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -82,6 +82,9 @@ MPD: while (1) { sleep $lyric->{delay}; printf {*STDOUT} "%s\n", $lyric->{text}; } + + # We, the fork, are done! + exit; } } |