summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/shutdown.c3
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");
}