mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
firstboot: log on take_etc_passwd_lock error too
This commit is contained in:
parent
f978cf31ec
commit
db260eedc2
@ -542,7 +542,7 @@ static int process_root_password(void) {
|
||||
|
||||
lock = take_etc_passwd_lock(arg_root);
|
||||
if (lock < 0)
|
||||
return lock;
|
||||
return log_error_errno(lock, "Failed to take a lock: %m");
|
||||
|
||||
if (arg_copy_root_password && arg_root) {
|
||||
struct spwd *p;
|
||||
|
Loading…
Reference in New Issue
Block a user