From 2562567de4aa6d1780d4e1f2310f24c05ade9567 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Fri, 9 Dec 2016 11:34:14 -0800 Subject: [PATCH] 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. --- scope | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scope b/scope index c2924e696..36b11a213 100755 --- a/scope +++ b/scope @@ -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() {