mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
mount-util: add debug output when we switched root
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user