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 1Rvzq4-00059k-Vf for garchives@archives.gentoo.org; Fri, 10 Feb 2012 23:25:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AB34E0527; Fri, 10 Feb 2012 23:25:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1EC8AE0527 for ; Fri, 10 Feb 2012 23:25: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 8D8FB1B4008 for ; Fri, 10 Feb 2012 23:25:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 530E9E53FF for ; Fri, 10 Feb 2012 23:25: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: <8c55f1e50da45286b35d611c3c3a823e3446c2b8.idl0r@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc.c X-VCS-Directories: src/rc/ X-VCS-Committer: idl0r X-VCS-Committer-Name: Christian Ruppert X-VCS-Revision: 8c55f1e50da45286b35d611c3c3a823e3446c2b8 Date: Fri, 10 Feb 2012 23:25: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: 700a3188-8d07-47c6-8626-347b48125828 X-Archives-Hash: 389b4e84b47e58572e30a8c80b721a5b commit: 8c55f1e50da45286b35d611c3c3a823e3446c2b8 Author: Christian Ruppert gentoo org> AuthorDate: Fri Feb 10 23:24:10 2012 +0000 Commit: Christian Ruppert gentoo org> CommitDate: Fri Feb 10 23:24:46 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D8c55f1e5 Remove unused/useless function single_user() --- src/rc/rc.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/src/rc/rc.c b/src/rc/rc.c index 662062e..612cad0 100644 --- a/src/rc/rc.c +++ b/src/rc/rc.c @@ -306,15 +306,6 @@ open_shell(void) run_program(shell); } =20 -_dead static void -single_user(void) -{ - rc_logger_close(); - execl(SHUTDOWN, SHUTDOWN, "now", (char *) NULL); - eerrorx("%s: unable to exec `" SHUTDOWN "': %s", - applet, strerror(errno)); -} - static bool set_krunlevel(const char *level) {