From: Lennart Poettering Date: Tue, 9 Apr 2013 16:29:24 +0000 (+0200) Subject: shutdown: print a nice message before returning to initrd X-Git-Tag: v202~170 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=30d743f43007ed5a3db1f9a053b6d87c0940adb2 shutdown: print a nice message before returning to initrd --- diff --git a/src/core/shutdown.c b/src/core/shutdown.c index 86ea054a1..2db761de3 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"); }