chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
768aa35
)
localed: create /etc/X11/xorg.conf.d if needed
author
Michał Bartoszkiewicz
<mbartoszkiewicz@gmail.com>
Fri, 28 Dec 2012 21:40:41 +0000
(22:40 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 3 Jan 2013 23:26:27 +0000
(
00:26
+0100)
Use mkdir_p_label instead of mkdir_parents_label, so that the final
directory component is created too.
src/locale/localed.c
patch
|
blob
|
history
diff --git
a/src/locale/localed.c
b/src/locale/localed.c
index 04268a19821f1559ea4cc4665ffa596e890aff91..bb2a3a2e5422cea56ac865052f836c80b1de11c4 100644
(file)
--- a/
src/locale/localed.c
+++ b/
src/locale/localed.c
@@
-567,7
+567,7
@@
static int write_data_x11(void) {
return 0;
}
- mkdir_p
arents
_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)