diff --git a/docker/env-from-file.sh b/docker/env-from-file.sh index 3ef44d5af..37535c220 100644 --- a/docker/env-from-file.sh +++ b/docker/env-from-file.sh @@ -13,7 +13,7 @@ for line in $(printenv) do # Extract the name of the environment variable env_name=${line%%=*} - # Check if it ends in "_FILE" + # Check if it starts with "PAPERLESS_" and ends in "_FILE" if [[ ${env_name} == PAPERLESS_*_FILE ]]; then # Extract the value of the environment env_value=${line#*=} @@ -32,7 +32,7 @@ do export "${non_file_env_name}"="${val}" else - echo "File ${env_value} referenced ${env_name} by doesn't exist" + echo "File ${env_value} referenced by ${env_name} doesn't exist" fi fi done