From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-980795-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 486721396D9 for <garchives@archives.gentoo.org>; Sat, 28 Oct 2017 00:29:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE0BA2BC039; Sat, 28 Oct 2017 00:29:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D1692BC039 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 00:29:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 547E333E4AD for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 00:29:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E697C835 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 00:29:06 +0000 (UTC) From: "William Hubbs" <williamh@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org> Message-ID: <1509143816.027438f7759dbbc19ac1bedeff3f502c891e4d4e.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:0.34.x commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/supervise-daemon.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 027438f7759dbbc19ac1bedeff3f502c891e4d4e X-VCS-Branch: 0.34.x Date: Sat, 28 Oct 2017 00:29:06 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2e03af3a-e553-4461-8aa3-44078d1d09e3 X-Archives-Hash: d71e5eb8a9f7f7c933036330db7c9ddb commit: 027438f7759dbbc19ac1bedeff3f502c891e4d4e Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> AuthorDate: Fri Oct 27 22:34:29 2017 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Fri Oct 27 22:36:56 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=027438f7 supervise-daemon: fix logging for reexec and the child command line src/rc/supervise-daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c index bf27ad18..1d0c3407 100644 --- a/src/rc/supervise-daemon.c +++ b/src/rc/supervise-daemon.c @@ -161,7 +161,7 @@ static void cleanup(void) static void re_exec(void) { - syslog(LOG_WARNING, "Re-executing supervise-daemon"); + syslog(LOG_WARNING, "Re-executing for %s", svcname); execlp("supervise-daemon", "supervise-daemon", "--reexec", (char *) NULL); syslog(LOG_ERR, "Unable to execute supervise-daemon: %s", strerror(errno)); @@ -402,7 +402,7 @@ static void child_process(char *exec, char **argv) strcat(cmdline, " "); c++; } - syslog(LOG_INFO, "Running command line: %s", cmdline); + syslog(LOG_INFO, "Child command line: %s", cmdline); execvp(exec, argv); #ifdef HAVE_PAM