From d908c2375e33adc336c2a994f49be7875d5140e9 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 24 Aug 2004 06:29:24 +0000 Subject: fix crash when config directory does not exist (#10935) --- perl-install/standalone/drakroam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/drakroam') 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) = @_; -- cgit v1.2.1