1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +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 fi
if [ -z "$CLOUD" ] || [ ! -d "$LIBDIR/tiny-cloud/cloud/$CLOUD" ]; then 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 CLOUD=unknown
else else
log -s -t autodetect notice "choosing '$CLOUD' cloud" log -t autodetect notice "choosing '$CLOUD' cloud"
printf "%s\n" "$CLOUD" > "$TINY_CLOUD_VAR"/.autodetect printf "%s\n" "$CLOUD" > "$TINY_CLOUD_VAR"/.autodetect
fi fi
} }