summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-06 17:38:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-06 17:38:26 +0000
commitb8a25c88bba7e597dd0c148e15693672d2a30f85 (patch)
tree9c4922a45aa7ae98e414169afa898e4b19593a13 /perl-install/network/netconnect.pm
parent922d528b7664b8b885f596055bd25232f3df32a7 (diff)
downloaddrakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.tar
drakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.tar.gz
drakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.tar.bz2
drakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.tar.xz
drakx-backup-do-not-use-b8a25c88bba7e597dd0c148e15693672d2a30f85.zip
replace complex "unless"s with "if"s
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index f515d85ef..592092a06 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -46,10 +46,10 @@ sub intro {
translate($text),
sub { $_[0]{description} },
\@l);
- run_program::rooted($prefix, $connect_prog) if ($e->{c}==1);
- run_program::rooted($prefix, $disconnect_file) if ($e->{c}==2);
- main($prefix, $netcnx, $netc, $mouse, $in, $intf, 0, 0) if ($e->{c}==3);
- $in->exit(0) if ($e->{c}==4);
+ run_program::rooted($prefix, $connect_prog) if $e->{c}==1;
+ run_program::rooted($prefix, $disconnect_file) if $e->{c}==2;
+ main($prefix, $netcnx, $netc, $mouse, $in, $intf, 0, 0) if $e->{c}==3;
+ $in->exit(0) if $e->{c}==4;
} else {
main($prefix, $netcnx, $netc, $mouse, $in, $intf, 0, 0);
}