use absolute path when initializing WebGUI::Config in spectre
This commit is contained in:
parent
5861aafabd
commit
cba8fa6166
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ pod2usage( verbose => 2 ) if $help;
|
|||
pod2usage() unless ($ping||$shutdown||$daemon||$run||$test||$status);
|
||||
|
||||
require File::Spec;
|
||||
my $config = WebGUI::Config->new($webguiRoot,"spectre.conf",1);
|
||||
my $config = WebGUI::Config->new(File::Spec->rel2abs($webguiRoot),"spectre.conf",1);
|
||||
unless (defined $config) {
|
||||
print <<STOP;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue