log about not being able to get process group with INFO not WARN.
[oweals/dinit.git] / src / baseproc-service.cc
index a0d41651a7159af619635a3c0a8221d7e9cc2028..a413ebea7a2a5fdc562f85de2b0c69794d962477 100644 (file)
@@ -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;