repart: Add more logging

This commit is contained in:
Daan De Meyer
2023-04-06 09:45:46 +02:00
parent 7393530f22
commit b24bfd6ee4
2 changed files with 30 additions and 2 deletions
+7
View File
@@ -479,6 +479,13 @@ int make_filesystem(
if (extra_mkfs_args && strv_extend_strv(&argv, extra_mkfs_args, false) < 0)
return log_oom();
if (DEBUG_LOGGING) {
_cleanup_free_ char *j = NULL;
j = strv_join(argv, " ");
log_debug("Executing mkfs command: %s", strna(j));
}
r = safe_fork_full(
"(mkfs)",
stdio_fds,