summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-27 14:21:16 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-27 14:21:16 +0000
commita7a14e74ff9624d425630ad00c1d4dbf9b49ebb8 (patch)
treeec772dbf7b7b0d3ab35a0f4df4c89d01f0c5082e /perl-install/standalone
parent0346f921ca0e6df17551d7f39feb23490d1705ea (diff)
downloaddrakx-a7a14e74ff9624d425630ad00c1d4dbf9b49ebb8.tar
drakx-a7a14e74ff9624d425630ad00c1d4dbf9b49ebb8.tar.gz
drakx-a7a14e74ff9624d425630ad00c1d4dbf9b49ebb8.tar.bz2
drakx-a7a14e74ff9624d425630ad00c1d4dbf9b49ebb8.tar.xz
drakx-a7a14e74ff9624d425630ad00c1d4dbf9b49ebb8.zip
(in_ifconfig) better check ifconfig is executable before running it
(-e is not enough)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/net_monitor2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor
index ee4a10e92..7e323fb19 100755
--- a/perl-install/standalone/net_monitor
+++ b/perl-install/standalone/net_monitor
@@ -426,7 +426,7 @@ sub update() {
sub in_ifconfig {
my ($intf) = @_;
- -e '/sbin/ifconfig' or return 1;
+ -x '/sbin/ifconfig' or return 1;
$intf eq '' and return 1;
`/sbin/ifconfig` =~ /$intf/;
}