1
0
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:
Jake Buchholz Göktürk 2023-05-09 04:16:15 +00:00
parent 229fc70b42
commit 17d0b3d07b

View File

@ -221,6 +221,7 @@ init__set_ssh_keys() {
local user="$CLOUD_USER" local user="$CLOUD_USER"
local pwent="$(getent passwd "$user")" local pwent="$(getent passwd "$user")"
if [ -z "$pwent" ]; then if [ -z "$pwent" ]; then
echo "failed to find $user" >&2
log err "Failed to find user $user" log err "Failed to find user $user"
return 1 return 1
fi fi