From 6fac59cf9d8a2d09bd3c08eb4c0cdb0f3677f3fa Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 30 Aug 2018 14:30:49 -0700 Subject: [PATCH] cloudron-setup: print before we shift all the args --- scripts/cloudron-setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cloudron-setup b/scripts/cloudron-setup index c0f1be74e..f4d4be428 100755 --- a/scripts/cloudron-setup +++ b/scripts/cloudron-setup @@ -53,6 +53,8 @@ sourceTarballUrl="" rebootServer="true" baseDataDir="" +echo "Running cloudron-setup with args : $@" > "${LOG_FILE}" + args=$(getopt -o "" -l "help,skip-baseimage-init,data-dir:,provider:,version:,env:,prerelease,edition:,skip-reboot" -n "$0" -- "$@") eval set -- "${args}" @@ -138,8 +140,6 @@ echo "" echo " Join us at https://forum.cloudron.io for any questions." echo "" -echo "Running cloudron-setup with args : $@" >> "${LOG_FILE}" - if [[ "${initBaseImage}" == "true" ]]; then echo "=> Updating apt and installing script dependencies" if ! apt-get update &>> "${LOG_FILE}"; then