diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-02-17 17:54:10 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-02-17 17:54:10 +0000 |
commit | 3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea (patch) | |
tree | bbac827f89e37deb88a002a82585c501531e752b /perl-install/standalone/drakconnect | |
parent | 7805c03ff64b7ca0c29b34f787fdee11f77a1986 (diff) | |
download | drakx-backup-do-not-use-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.tar drakx-backup-do-not-use-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.tar.gz drakx-backup-do-not-use-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.tar.bz2 drakx-backup-do-not-use-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.tar.xz drakx-backup-do-not-use-3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea.zip |
fix typo
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-x | perl-install/standalone/drakconnect | 8 |
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, |