diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-02-11 00:24:10 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-02-11 00:24:46 +0100 |
commit | 8c55f1e50da45286b35d611c3c3a823e3446c2b8 (patch) | |
tree | bf410256fafcbd9ae348e44a0fa864661ed2fa1a /src/rc/rc.c | |
parent | 94661b1d22803a9a5c485ff5f89d5b867afa1fb7 (diff) |
Remove unused/useless function single_user()
Diffstat (limited to 'src/rc/rc.c')
-rw-r--r-- | 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 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) { |