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