From e97c11c5cf64ac3fc03c6faa2f5e3b14a997b8f1 Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Mon, 5 Feb 2018 17:17:49 +0200 Subject: [PATCH] Add command to quickstart log for future debug When we save the whole quickstart log let's save the command also to know what exactly was executed. Change-Id: I269a7816cc8320214104fd978d27550d1267e91d --- quickstart.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickstart.sh b/quickstart.sh index df6c8a224..3580c107f 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -4,7 +4,8 @@ if [ -t 1 ] ; then export ANSIBLE_FORCE_COLOR=true fi # Log everything from this script into _quickstart.log -exec &> >(tee -i _quickstart.log ) +echo "$0 $@" > _quickstart.log +exec &> >(tee -i -a _quickstart.log ) # With LANG set to everything else than C completely undercipherable errors # like "file not found" and decoding errors will start to appear during scripts