overwriting INCLUDE_STOPPED to be empty if INCLUDE_STOPPED_CONTAINERS is not set
This prevents the passing of arbitrary flags to docker-gen
This commit is contained in:
parent
e2e6964944
commit
be6487d532
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ fi
|
|||
|
||||
if [ "${INCLUDE_STOPPED_CONTAINERS}" == "true" ]; then
|
||||
export INCLUDE_STOPPED=" -include-stopped"
|
||||
else
|
||||
export INCLUDE_STOPPED=""
|
||||
fi
|
||||
|
||||
# Generate dhparam file if required
|
||||
|
|
Loading…
Reference in a new issue