diff options
author | Brett Witherspoon <spoonb@exherbo.org> | 2011-01-14 21:50:26 -0600 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-01-19 00:35:21 +0100 |
commit | f8d0ceb46b8c617abce8eaf99812ca7f4ce1c658 (patch) | |
tree | 61f899806fa37bd510f18461bea931998beddac3 /src/shutdown.c | |
parent | c32e0c40f7e706e3ebcd101187d5ced96f083491 (diff) |
shutdown: use correct kexec options
The kexec man page is awful and misleading.
Diffstat (limited to 'src/shutdown.c')
-rw-r--r-- | src/shutdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown.c b/src/shutdown.c index 10d8413092..94deb85441 100644 --- a/src/shutdown.c +++ b/src/shutdown.c @@ -349,7 +349,7 @@ int main(int argc, char *argv[]) { log_warning("kexec failed. Falling back to normal reboot."); } else { /* Child */ - const char *args[5] = { "/sbin/kexec", "-e", "-f", "-x", NULL }; + const char *args[3] = { "/sbin/kexec", "-e", NULL }; execv(args[0], (char * const *) args); return EXIT_FAILURE; } |