diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-01-26 14:54:02 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-01-26 14:54:02 +0000 |
commit | 9b5d5982b782c4155776f45c64be08ae9d9c64b6 (patch) | |
tree | dbab8d3391cc4477999f889555bdd9fbc57d0c86 /perl-install/standalone/drakdvb | |
parent | c2b9dabc361b8f08397e1c5ed5543fdd7f181d3b (diff) | |
download | drakx-backup-do-not-use-9b5d5982b782c4155776f45c64be08ae9d9c64b6.tar drakx-backup-do-not-use-9b5d5982b782c4155776f45c64be08ae9d9c64b6.tar.gz drakx-backup-do-not-use-9b5d5982b782c4155776f45c64be08ae9d9c64b6.tar.bz2 drakx-backup-do-not-use-9b5d5982b782c4155776f45c64be08ae9d9c64b6.tar.xz drakx-backup-do-not-use-9b5d5982b782c4155776f45c64be08ae9d9c64b6.zip |
Don't warn if the config file was empty
Diffstat (limited to 'perl-install/standalone/drakdvb')
-rwxr-xr-x | perl-install/standalone/drakdvb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakdvb b/perl-install/standalone/drakdvb index 802a4feb2..b4f1e2010 100755 --- a/perl-install/standalone/drakdvb +++ b/perl-install/standalone/drakdvb @@ -53,7 +53,7 @@ sub exitapp() { } sub detect_channels() { - if (-e $config_file) { + if (-s $config_file) { $in->ask_okcancel(N("Warning"), N("%s already exists and its contents will be lost", $config_file)) or return; } gtkset_mousecursor_wait($w->{window}->window); |