diff options
Diffstat (limited to 'perl-install/standalone/drakdvb')
-rwxr-xr-x | perl-install/standalone/drakdvb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/drakdvb b/perl-install/standalone/drakdvb index 222dfd51e..531701862 100755 --- a/perl-install/standalone/drakdvb +++ b/perl-install/standalone/drakdvb @@ -111,7 +111,8 @@ sub load_channels() { } sub launch_tv() { - system('mplayer "dvb://' . get_selected_channel() . '"&'); + my $channel = get_selected_channel() or return; + system('mplayer "dvb://' . $channel . '"&'); } gtkadd($w->{window}, |