diff --git a/apache/restart.cgi b/apache/restart.cgi index 4fc714ef7..08f2c8c84 100755 --- a/apache/restart.cgi +++ b/apache/restart.cgi @@ -34,13 +34,8 @@ if (!$running) { &error($text{'restart_eunknown'}); } else { -<<<<<<< HEAD - $errorlog = &server_root($errorlog, $conf); - $out = &backquote_command("tail -5 ".quotemeta($errorlog)); -======= $errorlog = &server_root($errorlog); - $out = `tail -5 $errorlog`; ->>>>>>> The server_root function doesn't need the global config as a parameter + $out = &backquote_command("tail -5 ".quotemeta($errorlog)); &error("
$out
"); } }