summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-24 06:29:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-24 06:29:24 +0000
commitd908c2375e33adc336c2a994f49be7875d5140e9 (patch)
tree0c1b4a0937d15c81a186380d37434e407b1e4d1b /perl-install
parent3fc065722f84d8022dd4778036120257b4820521 (diff)
downloaddrakx-backup-do-not-use-d908c2375e33adc336c2a994f49be7875d5140e9.tar
drakx-backup-do-not-use-d908c2375e33adc336c2a994f49be7875d5140e9.tar.gz
drakx-backup-do-not-use-d908c2375e33adc336c2a994f49be7875d5140e9.tar.bz2
drakx-backup-do-not-use-d908c2375e33adc336c2a994f49be7875d5140e9.tar.xz
drakx-backup-do-not-use-d908c2375e33adc336c2a994f49be7875d5140e9.zip
fix crash when config directory does not exist (#10935)
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakroam4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam
index 20e717cf1..8b7144ebc 100755
--- a/perl-install/standalone/drakroam
+++ b/perl-install/standalone/drakroam
@@ -94,7 +94,7 @@ my %available_roaming_daemons = (
my $ifc = $row->[4] ? "$IFConfig \@DEV\@ up; $DHClient \@DEV\@" : "$IFUp \@DEV\@";
push @contents, "$essid\t\t$iwc; $ifc\n";
}
- output($config, @contents);
+ output_p($config, @contents);
},
add_net => sub {},
remove_net => sub {},
@@ -117,7 +117,7 @@ my %available_roaming_daemons = (
write_config => sub {},
add_net => sub {
my ($config, $essid) = @_;
- output("$config/$essid", qq(# essid specific config file));
+ output_p("$config/$essid", qq(# essid specific config file));
},
remove_net => sub {
my ($config, $essid) = @_;