[systemd-commits] src/locale
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Jan 3 15:29:06 PST 2013
src/locale/localed.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9a9bb3ca1eddc8caa2d7aa3e6e27d270e296923f
Author: MichaÅ Bartoszkiewicz <mbartoszkiewicz at gmail.com>
Date: Fri Dec 28 22:40:41 2012 +0100
localed: create /etc/X11/xorg.conf.d if needed
Use mkdir_p_label instead of mkdir_parents_label, so that the final
directory component is created too.
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 04268a1..bb2a3a2 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -567,7 +567,7 @@ static int write_data_x11(void) {
return 0;
}
- mkdir_parents_label("/etc/X11/xorg.conf.d", 0755);
+ mkdir_p_label("/etc/X11/xorg.conf.d", 0755);
r = fopen_temporary("/etc/X11/xorg.conf.d/00-keyboard.conf", &f, &temp_path);
if (r < 0)
More information about the systemd-commits
mailing list