mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-19 11:23:32 +00:00
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.
This commit is contained in:
parent
768aa35871
commit
9a9bb3ca1e
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user