From 61c2dbdb329f3c57dd77888c8715f3b9dce68fd7 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Fri, 24 May 2019 18:59:44 +1000 Subject: [PATCH] log about not being able to get process group with INFO not WARN. --- src/baseproc-service.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/baseproc-service.cc b/src/baseproc-service.cc index a0d4165..a413ebe 100644 --- a/src/baseproc-service.cc +++ b/src/baseproc-service.cc @@ -333,9 +333,9 @@ void base_process_service::kill_pg(int signo) noexcept if (pgid == -1) { // On some OSes (eg OpenBSD) we aren't allowed to get the pgid of a process in a different // session. Just kill the process in that case. - log(loglevel_t::WARN, get_name(), ": can't signal process group: ", strerror(errno)); - log(loglevel_t::WARN, get_name(), ": will signal process only " - "(consider using option = signal-process-only)"); + log(loglevel_t::INFO, get_name(), ": can't signal process group: ", strerror(errno)); + log(loglevel_t::INFO, get_name(), ": will signal process only " + "(consider using 'options = signal-process-only')"); bp_sys::kill(pid, signo); return; -- 2.25.1