aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-02-11 00:24:10 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-02-11 00:24:46 +0100
commit8c55f1e50da45286b35d611c3c3a823e3446c2b8 (patch)
treebf410256fafcbd9ae348e44a0fa864661ed2fa1a
parent94661b1d22803a9a5c485ff5f89d5b867afa1fb7 (diff)
Remove unused/useless function single_user()
-rw-r--r--src/rc/rc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rc/rc.c b/src/rc/rc.c
index 662062ef..612cad01 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -306,15 +306,6 @@ open_shell(void)
run_program(shell);
}
-_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)
{