diff options
author | MichaĆ Bartoszkiewicz <mbartoszkiewicz@gmail.com> | 2012-12-28 22:40:41 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-01-04 00:26:27 +0100 |
commit | 9a9bb3ca1eddc8caa2d7aa3e6e27d270e296923f (patch) | |
tree | 1ab1e9e6fb21d4581ccbe11357d9454172d1190c /src | |
parent | 768aa358713d3e28864d35ee1bb53355ecc894d7 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/locale/localed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c index 04268a1982..bb2a3a2e54 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) |