fix a rather large typo/thinko in 1006eba

If you look at this change, and the same lines in 1006eba, you can
easily see what I missed...
This commit is contained in:
Sitaram Chamarty 2011-09-10 18:57:42 +05:30
parent fcb41f06f0
commit 63f18a5adf
2 changed files with 7 additions and 7 deletions

View file

@ -268,7 +268,7 @@ sub parse_conf_line
# substitute HOSTNAME word if GL_HOSTNAME defined, otherwise leave as is
$include_glob =~ s/\bHOSTNAME\b/$GL_HOSTNAME/ if $GL_HOSTNAME;
for my $file (glob($include_glob =~ m(^/) ? $include_glob : "conf/$include_glob")) {
for my $file (glob($include_glob =~ m(^/) ? $include_glob : "$GL_ADMINDIR/conf/$include_glob")) {
warn("$WARN included file not found: '$file'\n"), next unless -f $file;
my $file_id = device_inode($file);