diff --git a/sbin/spectre.pl b/sbin/spectre.pl index 595377aef..56e06e09d 100644 --- a/sbin/spectre.pl +++ b/sbin/spectre.pl @@ -48,6 +48,7 @@ pod2usage( verbose => 2 ) if $help; pod2usage() unless ($ping||$shutdown||$daemon||$run||$test||$status); require File::Spec; +# Convert to absolute since we'll be changing directory my $config = WebGUI::Config->new(File::Spec->rel2abs($webguiRoot),"spectre.conf",1); unless (defined $config) { print <