From 3cf5d9a96280b234ab7ff565ed8f3bea9b1dcdea Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 17 Feb 2005 17:54:10 +0000 Subject: fix typo --- perl-install/standalone/drakconnect | 8 ++++---- 1 file 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, -- cgit v1.2.1