scope launch script: Don't try to detect if listing scope binary args worked

We can't easily do this since scope exits failure when -h is passed, so we
can't distinugish between success and failure.
This commit is contained in:
Mike Lang
2016-12-09 11:34:14 -08:00
parent 3000adfb9a
commit 2562567de4

3
scope
View File

@@ -36,8 +36,7 @@ usage() {
Launch options:
EOF
docker run --rm -e CHECKPOINT_DISABLE --entrypoint=/home/weave/scope \
$WEAVESCOPE_DOCKER_ARGS "$SCOPE_IMAGE" -h >&2 ||
echo "Error listing launch arguments" >&2
$WEAVESCOPE_DOCKER_ARGS "$SCOPE_IMAGE" -h >&2
}
usage_and_die() {