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 9CAD91396D0 for ; Mon, 18 Sep 2017 18:07:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B65431FC0D3; Mon, 18 Sep 2017 18:07:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 9528E1FC0D3 for ; Mon, 18 Sep 2017 18:07:42 +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 C4C3833D3CE for ; Mon, 18 Sep 2017 18:07:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 224CA908B for ; Mon, 18 Sep 2017 18:07:39 +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: <1505757814.b28c0d6f66e42b1e6d2a39c286a18c8d92881790.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master 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: b28c0d6f66e42b1e6d2a39c286a18c8d92881790 X-VCS-Branch: master Date: Mon, 18 Sep 2017 18:07:39 +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: 88a4b808-aab1-4da1-8277-b6662ac40fdf X-Archives-Hash: d4a598b56daf3700fb9cc5653a15a5e3 commit: b28c0d6f66e42b1e6d2a39c286a18c8d92881790 Author: William Hubbs gmail com> AuthorDate: Mon Sep 18 18:03:34 2017 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Sep 18 18:03:34 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=b28c0d6f typo fix src/rc/supervise-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c index 2800d1a2..3d39906e 100644 --- a/src/rc/supervise-daemon.c +++ b/src/rc/supervise-daemon.c @@ -666,7 +666,7 @@ int main(int argc, char **argv) exit(EXIT_FAILURE); /* wait for the supervisor to go down */ - while (kill(pid, 0) == 0) + while (kill(pid, 0) == 0) { ts.tv_sec = 0; ts.tv_nsec = 1; nanosleep(&ts, NULL);