summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakdvb
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-01-26 14:54:02 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-01-26 14:54:02 +0000
commit9b5d5982b782c4155776f45c64be08ae9d9c64b6 (patch)
treedbab8d3391cc4477999f889555bdd9fbc57d0c86 /perl-install/standalone/drakdvb
parentc2b9dabc361b8f08397e1c5ed5543fdd7f181d3b (diff)
downloaddrakx-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-xperl-install/standalone/drakdvb2
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);