diff --git a/scripts/upload.sh b/scripts/upload.sh index d5d1b606b..4d69fc5c9 100644 --- a/scripts/upload.sh +++ b/scripts/upload.sh @@ -66,7 +66,7 @@ LOG="${ALLSKY_TMP}/upload_log.txt" # Convert to lowercase so we don't care if user specified upper or lowercase. PROTOCOL="${PROTOCOL,,}" - +ALLSKY_DEBUG_LEVEL=${ALLSKY_DEBUG_LEVEL:-0} if [[ "${PROTOCOL}" == "s3" ]] ; then # xxxxxx How do you tell it the DESTINATION_FILE name ? if [ "${SILENT}" = "false" -a "${ALLSKY_DEBUG_LEVEL}" -ge 3 ]; then