mount-util: add debug output when we switched root

This commit is contained in:
Lennart Poettering
2024-11-25 11:35:11 +01:00
parent 009a02b263
commit 91cdc8ab0f

View File

@@ -536,6 +536,8 @@ int mount_switch_root_full(const char *path, unsigned long mount_propagation_fla
}
}
log_debug("Successfully switched root to '%s'.", path);
/* Finally, let's establish the requested propagation flags. */
if (mount_propagation_flag == 0)
return 0;