Skip to content

Commit

Permalink
fix syntax error: bad substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Feb 1, 2024
1 parent 0ec4251 commit b55e641
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entry_point.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ function initer(){
echo "WARN: This containter already inited"
fi
echo
echo "Running init command"
"${INIT_COMMAND[@]}" || exit $?
echo "Running init command $INIT_COMMAND"
"$INIT_COMMAND" || exit $?
if ! "$INITED"; then
echo "Creating .inited"
touch .inited
Expand All @@ -63,7 +63,7 @@ if ! [ -n "$_CMD" ]; then
fi

case "$_CMD" in
run)
run)
if ! "$INITED"; then
echo "Not inited, please use command 'init' for init"
exit 1
Expand Down

0 comments on commit b55e641

Please sign in to comment.