Calling exit on fork.
This commit is contained in:
parent
5a4ecf632c
commit
9d3ddadeda
@ -74,6 +74,7 @@ sub select_channel {
|
|||||||
close(STDERR);
|
close(STDERR);
|
||||||
close(STDIN);
|
close(STDIN);
|
||||||
system 'mpv', $current_channel_options->[0]{url};
|
system 'mpv', $current_channel_options->[0]{url};
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub show_channels {
|
sub show_channels {
|
||||||
|
Loading…
Reference in New Issue
Block a user