From: Lennart Poettering Date: Mon, 25 Nov 2024 10:35:11 +0000 (+0100) Subject: mount-util: add debug output when we switched root X-Git-Tag: v258-rc1~1808^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91cdc8ab0ffdd324b5ebd8be74aea35d7c22f3d7;p=thirdparty%2Fsystemd.git mount-util: add debug output when we switched root --- diff --git a/src/shared/mount-util.c b/src/shared/mount-util.c index 576f7e83aa1..c8486b1b4a8 100644 --- a/src/shared/mount-util.c +++ b/src/shared/mount-util.c @@ -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;