no need to pass CHECKPOINT_DISABLE when not starting probe/app

This commit is contained in:
Matthias Radestock
2017-07-14 09:52:06 +01:00
parent e19c33b4c2
commit bf8b28ca12

5
scope
View File

@@ -48,7 +48,7 @@ usage() {
Launch options:
EOF
# shellcheck disable=SC2086
docker run --rm -e CHECKPOINT_DISABLE --entrypoint=/home/weave/scope "$SCOPE_IMAGE" -h >&2
docker run --rm --entrypoint=/home/weave/scope "$SCOPE_IMAGE" -h >&2
}
usage_and_die() {
@@ -234,8 +234,7 @@ case "$COMMAND" in
version)
# shellcheck disable=SC2086
docker run --rm -e CHECKPOINT_DISABLE --entrypoint=/home/weave/scope \
"$SCOPE_IMAGE" --mode=version
docker run --rm --entrypoint=/home/weave/scope "$SCOPE_IMAGE" --mode=version
;;
-h | help | -help | --help)