Skip to content

Commit f64d892

Browse files
author
Till Brehm
committed
Fixes #1988 better init script failure log message.
1 parent 204b14f commit f64d892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/lib/classes/system.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,13 +2161,13 @@ function _getinitcommand($servicename, $action, $init_script_directory = '', $ch
21612161
}
21622162

21632163
if($full_init_script_path == '') {
2164-
$app->log('No init script, we quit here.',LOGLEVEL_WARN);
2164+
$app->log('No init script for '.$servicename.', we quit here.',LOGLEVEL_WARN);
21652165
return false;
21662166
}
21672167

21682168
//* Check init script
21692169
if(!is_file($full_init_script_path)) {
2170-
$app->log('Init script '.$full_init_script_path.' not found',LOGLEVEL_WARN);
2170+
$app->log('Init script '.$full_init_script_path.' for '.$servicename.' not found',LOGLEVEL_WARN);
21712171
return false;
21722172
}
21732173

0 commit comments

Comments
 (0)