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