projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f978cf3
)
firstboot: log on take_etc_passwd_lock error too
author
Evgeny Vereshchagin
<evvers@ya.ru>
Sun, 15 Nov 2015 16:16:38 +0000
(16:16 +0000)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Sun, 15 Nov 2015 18:30:26 +0000
(18:30 +0000)
src/firstboot/firstboot.c
patch
|
blob
|
history
diff --git
a/src/firstboot/firstboot.c
b/src/firstboot/firstboot.c
index
642d369
..
469ee7a
100644
(file)
--- a/
src/firstboot/firstboot.c
+++ b/
src/firstboot/firstboot.c
@@
-542,7
+542,7
@@
static int process_root_password(void) {
lock = take_etc_passwd_lock(arg_root);
if (lock < 0)
- return lo
ck
;
+ return lo
g_error_errno(lock, "Failed to take a lock: %m")
;
if (arg_copy_root_password && arg_root) {
struct spwd *p;