mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 11:22:43 +03:00
stderr output for set_ssh_keys failure
This commit is contained in:
parent
229fc70b42
commit
17d0b3d07b
@ -221,6 +221,7 @@ init__set_ssh_keys() {
|
||||
local user="$CLOUD_USER"
|
||||
local pwent="$(getent passwd "$user")"
|
||||
if [ -z "$pwent" ]; then
|
||||
echo "failed to find $user" >&2
|
||||
log err "Failed to find user $user"
|
||||
return 1
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user