Remove duplicate echo statement for displaying passed arguments in runtest.sh
This commit is contained in:
parent
f68acef4bf
commit
b80adf89ef
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue