diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-12-11 12:23:45 +1300 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2015-12-24 01:57:50 +0100 |
commit | 022ae4836072e3534c5ce61d063179d6bab9d73a (patch) | |
tree | 720b9c8b4af3769a5257da530a80b433724dd903 /nyan.png | |
parent | 54daf38b08afee88829f24ca8d282557bbb627fe (diff) |
Change an eprintf to a die to stop child from running its own slideshow
The child thread was created because execlp will not return if successful.
The eprintf was placed after the call to execlp to catch any error, but the
child continued to return a (closed) fds[0], resulting in a second slideshow
being run by the child.
This commit fixes the issue by killing the child.
Diffstat (limited to 'nyan.png')
0 files changed, 0 insertions, 0 deletions