diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-04-09 18:29:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-09 18:29:33 +0200 |
commit | 30d743f43007ed5a3db1f9a053b6d87c0940adb2 (patch) | |
tree | 35fb05896c4a69a965d87334315dc31e3a1860eb /src/core/shutdown.c | |
parent | c8f5f5e72841d7b21a618507170b973c049f12ef (diff) |
shutdown: print a nice message before returning to initrd
Diffstat (limited to 'src/core/shutdown.c')
-rw-r--r-- | src/core/shutdown.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/shutdown.c b/src/core/shutdown.c index 86ea054a1b..2db761de36 100644 --- a/src/core/shutdown.c +++ b/src/core/shutdown.c @@ -274,6 +274,9 @@ int main(int argc, char *argv[]) { if (prepare_new_root() >= 0 && pivot_to_new_root() >= 0) { + + log_info("Returning to initrd..."); + execv("/shutdown", argv); log_error("Failed to execute shutdown binary: %m"); } |