summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-10-15 12:34:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-10-15 12:34:05 +0000
commit6d5cba8e5b4f47874e8aab377b7b4181aff6faa2 (patch)
treee901c38ba2bcd402272a561e8818639383f73167 /perl-install/network/netconnect.pm
parent2129b98f49dee51358c410363215e5457d4004d8 (diff)
downloaddrakx-6d5cba8e5b4f47874e8aab377b7b4181aff6faa2.tar
drakx-6d5cba8e5b4f47874e8aab377b7b4181aff6faa2.tar.gz
drakx-6d5cba8e5b4f47874e8aab377b7b4181aff6faa2.tar.bz2
drakx-6d5cba8e5b4f47874e8aab377b7b4181aff6faa2.tar.xz
drakx-6d5cba8e5b4f47874e8aab377b7b4181aff6faa2.zip
cleanup thanks to perl_checker
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 6771b8210..57dd82c88 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -754,7 +754,7 @@ or skip and do it later."),
}
return "adsl_no_firmawre" if $adsl_answer eq N("Do it later");
- my $_b = before_leaving { fs::umount('/mnt') } if $mounted;
+ my $_b = $mounted && before_leaving { fs::umount('/mnt') };
if (!$adsl_failed) {
if (-e "$source/$file") {
cp_af("$source/$file", $destination) if !$::testing;