Permalink
Browse files

Fix invalid boolean

  • Loading branch information...
jcameron committed Jul 31, 2011
1 parent aaba559 commit a2721c909b81404a328f609ebaaaed05e8291065
Showing with 1 addition and 1 deletion.
  1. +1 −1 net/redhat-linux-lib.pl
View
@@ -81,7 +81,7 @@ sub boot_interfaces
$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;

0 comments on commit a2721c9

Please sign in to comment.