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:
parent
be890f7f16
commit
5c90394f7a
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user