pw: fix incorrect metalog path in mkdir_home_parents

This commit is contained in:
Baptiste Daroussin
2026-06-05 00:19:54 +02:00
parent fe1e912d5a
commit ab478de1f9
+1 -1
View File
@@ -123,7 +123,7 @@ mkdir_home_parents(int dfd, const char *dir)
dirs);
if (fchownat(dfd, dirs, 0, 0, 0) != 0)
warn("chown(%s)", dirs);
metalog_emit(dir,
metalog_emit(dirs,
(_DEF_DIRMODE | S_IFDIR) & ~pumask, 0, 0,
0);
}