diff --git a/monitorix b/monitorix index 8060b9d..fe740e9 100755 --- a/monitorix +++ b/monitorix @@ -446,7 +446,7 @@ if(grep {$_ eq $config{os}} ("FreeBSD", "OpenBSD", "NetBSD")) { $SIG{'CHLD'} = 'DEFAULT'; } -$0 = sprintf("%s %s%s%s%s", +$0 = sprintf("%s %s%s%s%s%s", $^V lt 5.6.2 ? "monitorix" : abs_path($0), $options{c} ? "-c $options{c}" : "", $options{p} ? " -p $options{p}" : "",