# Are We using a relative path?
if ($file !~ /^\//) {
# Convert it to a full path.
- $file = $confpath . $file;
+ $file = $runpath . $file;
}
# Have we checked this file before?
$filesparsed{$file} = 1;
# Open the File..
- open INFILE, "< $file" or die "Unable to open file $file included in configuration\n";
+ open INFILE, '<', $file or die "Unable to open file $file included in configuration\n";
# Grab entire file contents..
my(@lines) = <INFILE>;
# Close the file
}
else
{
- if (-f $confpath . $pidfile)
+ if (-f $runpath . $pidfile)
{
- $pidfile = $confpath . $pidfile;
+ $pidfile = $runpath . $pidfile;
return;
}
}
}
else
{
- if (-f $confpath . $pidfile)
+ if (-f $runpath . $pidfile)
{
- $pidfile = $confpath . $pidfile;
+ $pidfile = $runpath . $pidfile;
return;
}
}
# Are We using a relative path?
if ($file !~ /^\//) {
# Convert it to a full path..
- $file = $confpath . $file;
+ $file = $runpath . $file;
}
# Have we checked this file before?