mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 11:22:43 +03:00
Undo auto-formatted space deletions
This commit is contained in:
parent
f84f2c090c
commit
e243abc2ab
@ -295,7 +295,7 @@ init__userdata_users() {
|
||||
lock_passwd="$(get_userdata users/$i/lock_passwd)"
|
||||
fi
|
||||
|
||||
if [ "$lock_passwd" != "false" ]; then
|
||||
if [ "$lock_passwd" != "false" ] && [ -z "$hashed_passwd" ]; then
|
||||
echo "${name}:*" | $MOCK chpasswd -e
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user