summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-17 17:54:10 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-17 17:54:10 +0000
commit3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea (patch)
treebbac827f89e37deb88a002a82585c501531e752b /perl-install
parent7805c03ff64b7ca0c29b34f787fdee11f77a1986 (diff)
downloaddrakx-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.tar
drakx-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.tar.gz
drakx-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.tar.bz2
drakx-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.tar.xz
drakx-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.zip
fix typo
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakconnect8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 00051fdee..cd981deae 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -667,7 +667,7 @@ sub add_intf() {
}
sub del_intf() {
- my ($intf2delete, $faillure);
+ my ($intf2delete, $failure);
if (!keys %$intf) {
$in->ask_warn(N("Error"), N("No ethernet network adapter has been detected on your system. Please run the hardware configuration tool."));
$in->exit(0);
@@ -706,14 +706,14 @@ sub del_intf() {
eval { rm_rf("/etc/sysconfig/network-scripts/ifcfg-$intf2delete") };
}
};
- $faillure = $@;
+ $failure = $@;
return "end";
},
},
end => {
name => sub {
- $faillure ?
- N("An error occurred while deleting the \"%s\" network interface:\n\n%s", $intf2delete, $faillure)
+ $failure ?
+ N("An error occurred while deleting the \"%s\" network interface:\n\n%s", $intf2delete, $failure)
: N("Congratulations, the \"%s\" network interface has been successfully deleted", $intf2delete);
},
end => 1,