From 8c55f1e50da45286b35d611c3c3a823e3446c2b8 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Sat, 11 Feb 2012 00:24:10 +0100 Subject: Remove unused/useless function single_user() --- src/rc/rc.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/rc') 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) { -- cgit v1.2.3