Skip to content

Commit 594fe0d

Browse files
author
Till Brehm
committed
Merge branch '6829-improve-error-message-no-init-script-we-quit-here' into 'develop'
Resolve "Improve error message - No init script, we quit here" Closes #1988 and #6829 See merge request ispconfig/ispconfig3!1988
2 parents 204b14f + 71afa2f commit 594fe0d

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.' with action: '.$action.' and path: '.$init_script_directory.', 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)