1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +03:00

fix: remove extra ']', removes of /] after first boot.

This commit is contained in:
Stefan Reimer 2022-09-27 15:03:21 +00:00 committed by Jake Buchholz Göktürk
parent d15ac6bed3
commit 1e49b7f212

View File

@ -9,7 +9,7 @@ SKIP_INIT_ACTIONS=${SKIP_INIT_ACTIONS:-}
is_bootstrapped() { [ -f "$TINY_CLOUD_VAR"/.bootstrap-complete ]; }
# indicate bootstrap is done
bootstrap_complete() { touch "$TINY_CLOUD_VAR"/.bootstrap-complete ]; }
bootstrap_complete() { touch "$TINY_CLOUD_VAR"/.bootstrap-complete ; }
# should we skip this action?
skip_action() {
@ -21,4 +21,4 @@ skip_action() {
# action not in the skip list?
echo "$SKIP_INIT_ACTIONS" | grep -Eq "\b$action\b" || return 1
echo -n " SKIPPING"
}
}