From 1e49b7f212ae48a0dc4dee9084f69b9ad0e5b614 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Tue, 27 Sep 2022 15:03:21 +0000 Subject: [PATCH] fix: remove extra ']', removes of `/]` after first boot. --- lib/tiny-cloud/init-common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tiny-cloud/init-common b/lib/tiny-cloud/init-common index e412eb4..90f8af9 100644 --- a/lib/tiny-cloud/init-common +++ b/lib/tiny-cloud/init-common @@ -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" -} \ No newline at end of file +}