summaryrefslogtreecommitdiff
path: root/src
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 /src
parent94661b1d22803a9a5c485ff5f89d5b867afa1fb7 (diff)
downloadopenrc-8c55f1e50da45286b35d611c3c3a823e3446c2b8.tar.gz
openrc-8c55f1e50da45286b35d611c3c3a823e3446c2b8.tar.bz2
openrc-8c55f1e50da45286b35d611c3c3a823e3446c2b8.tar.xz
Remove unused/useless function single_user()
Diffstat (limited to 'src')
-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 662062e..612cad0 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)
{