scheduler: log the host id if another scheduler instance is running for that

This commit is contained in:
Bernd Machenschalk 2014-06-04 10:03:09 +00:00 committed by Bernd Machenschalk
parent dcc0afaaa0
commit d9ec92a014
1 changed files with 2 additions and 2 deletions

View File

@ -1209,8 +1209,8 @@ void process_request(char* code_sign_key) {
int pid_with_lock = lock_sched();
if (pid_with_lock > 0) {
log_messages.printf(MSG_CRITICAL,
"Another scheduler instance [PID=%d] is running for this host\n",
pid_with_lock
"Another scheduler instance [PID=%d] is running for [HOST#%d]\n",
pid_with_lock, g_reply->host.id
);
} else if (pid_with_lock) {
log_messages.printf(MSG_CRITICAL,