summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-22 06:05:04 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-22 06:05:04 +0000
commitf2e41431590d656a5fd3892eddea59e54e62e152 (patch)
tree1d52998c24781eb45df2aef37b49db62876e8602
parent8003dcde68ae75378a40f8cee104d43285e527c3 (diff)
downloaddrakx-backup-do-not-use-f2e41431590d656a5fd3892eddea59e54e62e152.tar
drakx-backup-do-not-use-f2e41431590d656a5fd3892eddea59e54e62e152.tar.gz
drakx-backup-do-not-use-f2e41431590d656a5fd3892eddea59e54e62e152.tar.bz2
drakx-backup-do-not-use-f2e41431590d656a5fd3892eddea59e54e62e152.tar.xz
drakx-backup-do-not-use-f2e41431590d656a5fd3892eddea59e54e62e152.zip
(getIP) fix build
-rw-r--r--perl-install/standalone/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index b66cf0a3b..0875f6c83 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -109,7 +109,7 @@ sub checkNetwork {
sub getIP {
my ($interface) = shift;
my $ifconfig = '/sbin/ifconfig';
- my @lines = qx|$ifconfig $interface|;
+ my @lines = `$ifconfig $interface`;
my @ip = map { if_(/inet adr:([\d.]+)/, $1) } @lines;
return wantarray() ? @ip : $ip[0];
}