diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-24 06:29:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-24 06:29:24 +0000 |
commit | d908c2375e33adc336c2a994f49be7875d5140e9 (patch) | |
tree | 0c1b4a0937d15c81a186380d37434e407b1e4d1b /perl-install/standalone | |
parent | 3fc065722f84d8022dd4778036120257b4820521 (diff) | |
download | drakx-d908c2375e33adc336c2a994f49be7875d5140e9.tar drakx-d908c2375e33adc336c2a994f49be7875d5140e9.tar.gz drakx-d908c2375e33adc336c2a994f49be7875d5140e9.tar.bz2 drakx-d908c2375e33adc336c2a994f49be7875d5140e9.tar.xz drakx-d908c2375e33adc336c2a994f49be7875d5140e9.zip |
fix crash when config directory does not exist (#10935)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakroam | 4 |
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) = @_; |