]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mount-util: add debug output when we switched root
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Nov 2024 10:35:11 +0000 (11:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Dec 2024 14:33:44 +0000 (15:33 +0100)
src/shared/mount-util.c

index 576f7e83aa192ab7865fe0316734e6d7427c99ae..c8486b1b4a844d1b35950d3cda5e391a736352bd 100644 (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;