create proper path

Signed-off-by: axtloss <axtlos@tar.black>
axtloss/rework-partitioning
axtloss 2 years ago committed by Michal S
parent 7a9e68cb08
commit 87f0cb464e

@ -67,7 +67,7 @@ pub fn new_user(username: &str, hasroot: bool, password: &str, do_hash_pass: boo
"Add pwfeedback to sudoers",
);
files_eval(
files::create_directory("/mnt/var/lib/AccountsService"),
files::create_directory("/mnt/var/lib/AccountsService/users/"),
"Create /mnt/var/lib/AcountsService",
);
files::create_file(&format!("/mnt/var/lib/AccountsService/users/{}", username));

Loading…
Cancel
Save