Remove duplicate echo statement for displaying passed arguments in runtest.sh

This commit is contained in:
Yaro Kasear 2025-05-02 14:33:48 -05:00
parent f68acef4bf
commit b80adf89ef

View file

@ -36,6 +36,8 @@ done
IFS=$'\n\t' IFS=$'\n\t'
echo "Here are the arguments passed to the script: $@"
# === Start logging with 'script' safely === # === Start logging with 'script' safely ===
if [ -z "${SCRIPT_LOG_STARTED:-}" ]; then if [ -z "${SCRIPT_LOG_STARTED:-}" ]; then
export SCRIPT_LOG_STARTED=1 export SCRIPT_LOG_STARTED=1
@ -45,7 +47,6 @@ if [ -z "${SCRIPT_LOG_STARTED:-}" ]; then
exec script -q "$LOG_FILE" --return --flush --command "$0" "$@" exec script -q "$LOG_FILE" --return --flush --command "$0" "$@"
fi fi
echo "Here are the arguments passed to the script: $@"
# === Now start your real script === # === Now start your real script ===
source settings.env source settings.env