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