1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-14 19:02:45 +03:00

logging update

This commit is contained in:
Jake Buchholz Göktürk 2024-11-30 14:39:32 -08:00
parent be890f7f16
commit 5c90394f7a

View File

@ -73,10 +73,10 @@ if [ "$CLOUD" = "auto" ]; then
)
fi
if [ -z "$CLOUD" ] || [ ! -d "$LIBDIR/tiny-cloud/cloud/$CLOUD" ]; then
log -s -t autodetect err "unable to determine cloud"
log -t autodetect err "unable to determine cloud"
CLOUD=unknown
else
log -s -t autodetect notice "choosing '$CLOUD' cloud"
log -t autodetect notice "choosing '$CLOUD' cloud"
printf "%s\n" "$CLOUD" > "$TINY_CLOUD_VAR"/.autodetect
fi
}