From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 1B0D51396D0 for ; Thu, 5 Oct 2017 23:31:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C8222BC003; Thu, 5 Oct 2017 23:31:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 457A42BC003 for ; Thu, 5 Oct 2017 23:31:29 +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 C664C3416D3 for ; Thu, 5 Oct 2017 23:31:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C788C9078 for ; Thu, 5 Oct 2017 23:31:22 +0000 (UTC) From: "William Hubbs" 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" Message-ID: <1507246267.1e9af2cd421423404ffe1491bd35af76c2885f1f.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-schedules.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1e9af2cd421423404ffe1491bd35af76c2885f1f X-VCS-Branch: master Date: Thu, 5 Oct 2017 23:31:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2673e0a6-568d-41f0-a8ff-99a2413ba58d X-Archives-Hash: 37a7365246fc91ac366bee29cb0d3be2 commit: 1e9af2cd421423404ffe1491bd35af76c2885f1f Author: William Hubbs gmail com> AuthorDate: Thu Oct 5 23:31:07 2017 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu Oct 5 23:31:07 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1e9af2cd fix compiler warning src/rc/rc-schedules.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rc/rc-schedules.c b/src/rc/rc-schedules.c index 9568e51d..d60c2822 100644 --- a/src/rc/rc-schedules.c +++ b/src/rc/rc-schedules.c @@ -408,11 +408,12 @@ int run_stop_schedule(const char *applet, if (progressed) printf("\n"); - if (! quiet) + if (! quiet) { if (nrunning == 1) eerror("%s: %d process refused to stop", applet, nrunning); else eerror("%s: %d process(es) refused to stop", applet, nrunning); + } return -nrunning; }