From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SMWUf-0006EK-BK for garchives@archives.gentoo.org; Tue, 24 Apr 2012 03:32:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C69CFE0AE5; Tue, 24 Apr 2012 03:32:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E1500E0AE5 for ; Tue, 24 Apr 2012 03:32:05 +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 4A9491B400C for ; Tue, 24 Apr 2012 03:32:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 27053E5402 for ; Tue, 24 Apr 2012 03:32:03 +0000 (UTC) From: "Christian Ruppert" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christian Ruppert" Message-ID: <1335232144.1f5072421e07ec6e6af7efbf339f3b9840494e52.idl0r@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-applets.c X-VCS-Directories: src/rc/ X-VCS-Committer: idl0r X-VCS-Committer-Name: Christian Ruppert X-VCS-Revision: 1f5072421e07ec6e6af7efbf339f3b9840494e52 X-VCS-Branch: master Date: Tue, 24 Apr 2012 03:32:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e4ceaf2a-8b3a-40fd-92db-1ecbe2de4e47 X-Archives-Hash: 16640b7bc8808e9ab0a670be5704058d commit: 1f5072421e07ec6e6af7efbf339f3b9840494e52 Author: Christian Ruppert gentoo org> AuthorDate: Tue Apr 24 01:49:04 2012 +0000 Commit: Christian Ruppert gentoo org> CommitDate: Tue Apr 24 01:49:04 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D1f507242 Remove duplicate getenv("RC_SVCNAME") call --- src/rc/rc-applets.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c index fe12515..865b77e 100644 --- a/src/rc/rc-applets.c +++ b/src/rc/rc-applets.c @@ -322,7 +322,7 @@ do_mark_service(int argc, char **argv) if (argc > 1) service =3D argv[1]; else - service =3D getenv("RC_SVCNAME"); + service =3D svcname; =20 if (service =3D=3D NULL || *service =3D=3D '\0') eerrorx("%s: no service specified", applet);