From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E00071381F3 for ; Mon, 23 Sep 2013 18:38:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D728E0AC5; Mon, 23 Sep 2013 18:38:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91AEDE0AC5 for ; Mon, 23 Sep 2013 18:38:03 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7441F33DA68 for ; Mon, 23 Sep 2013 18:38:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0268CE468F for ; Mon, 23 Sep 2013 18:38:01 +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: <1379958026.0ba14ae7205a4e6a8acc23a62a95f6c6ad8b591f.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-status.c src/rc/rc.c X-VCS-Directories: src/rc/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 0ba14ae7205a4e6a8acc23a62a95f6c6ad8b591f X-VCS-Branch: master Date: Mon, 23 Sep 2013 18:38:01 +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: e2470f48-20b4-44ca-90cb-f7aba2dbe21e X-Archives-Hash: 167c9f62960b216c3077a91a2f171f46 commit: 0ba14ae7205a4e6a8acc23a62a95f6c6ad8b591f Author: William Hubbs gmail com> AuthorDate: Mon Sep 23 17:40:26 2013 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Sep 23 17:40:26 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=0ba14ae7 style fixes --- src/rc/rc-status.c | 6 ++++-- src/rc/rc.c | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c index d14dd63..e38ce11 100644 --- a/src/rc/rc-status.c +++ b/src/rc/rc-status.c @@ -360,8 +360,10 @@ rc_status(int argc, char **argv) } } l->value = p; - /* we are unsetting RC_SVCNAME because last loaded service - wount be added to list */ + /* + * we are unsetting RC_SVCNAME because last loaded service will not + * be added to the list + */ unsetenv("RC_SVCNAME"); print_level("Dynamic", "needed"); print_services(NULL, nservices); diff --git a/src/rc/rc.c b/src/rc/rc.c index 0c98372..c1c1629 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -1115,7 +1115,7 @@ main(int argc, char **argv) /* Wait for our services to finish */ wait_for_services(); - + /* Free the list of services, we're done with it. */ rc_stringlist_free(run_services); }