Skip to content

Commit 81cbb14

Browse files
committed
fix: different approach to args
1 parent 5c9b8af commit 81cbb14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/base/ampstart.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ fi
7979

8080
# Handoff
8181
echo "[Info] Starting AMP..."
82+
ARGS=$@
8283
keep_env=(
8384
HOME=/home/amp
8485
USER=amp LOGNAME=amp SHELL=/bin/bash
@@ -91,4 +92,4 @@ for v in AMPHOSTPLATFORM AMP_CONTAINER AMP_CONTAINER_HOST_NETWORK AMPMEMORYLIMIT
9192
done
9293

9394
exec gosu amp:amp env -i "${keep_env[@]}" \
94-
bash -c "cd /AMP && exec ${AMP_BIN} $@"
95+
bash -c "cd /AMP && exec ${AMP_BIN} ${ARGS}"

0 commit comments

Comments
 (0)