projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaba559
)
Fix invalid boolean
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 31 Jul 2011 17:46:33 +0000
(10:46 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 31 Jul 2011 17:46:33 +0000
(10:46 -0700)
net/redhat-linux-lib.pl
patch
|
blob
|
history
diff --git
a/net/redhat-linux-lib.pl
b/net/redhat-linux-lib.pl
index
c77f775
..
c6f065e
100755
(executable)
--- a/
net/redhat-linux-lib.pl
+++ b/
net/redhat-linux-lib.pl
@@
-81,7
+81,7
@@
while($f = readdir(CONF)) {
$b->{'file'} = "$net_scripts_dir/$f";
push(@rv, $b);
}
- elsif ($f !~ /\.(bak|old)$/i
||
$f =~ /^ifcfg-([a-z0-9:\.]+)$/) {
+ elsif ($f !~ /\.(bak|old)$/i
&&
$f =~ /^ifcfg-([a-z0-9:\.]+)$/) {
# Normal interface
&read_env_file("$net_scripts_dir/$f", \%conf);
$b->{'fullname'} = $conf{'DEVICE'} || $1;