Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Reimer
tiny-cloud
Commits
e1477cae
Commit
e1477cae
authored
Sep 27, 2022
by
Stefan Reimer
Browse files
fix: remove extra ']'
parent
d15ac6be
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/tiny-cloud/init-common
View file @
e1477cae
...
...
@@ -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
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment