From 6d6394c4081b7f177429f13d8b11e102ef6d1a60 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 15 May 2017 09:55:46 +0000 Subject: [PATCH] Don't say 'stop-router' in error message --- weave | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weave b/weave index 4ea090b6..d5eebaf5 100755 --- a/weave +++ b/weave @@ -606,11 +606,11 @@ check_not_running() { RUN_STATUS=$(docker inspect --format='{{.State.Running}} {{.State.Status}} {{.Config.Image}}' $2 2>/dev/null) || true case ${RUN_STATUS%:*} in "true restarting $3") - echo "$2 is restarting; you can stop it with 'weave stop-$1'." >&2 + echo "$2 is restarting; you can stop it with 'weave stop'." >&2 return 3 ;; "true "*" $3") - echo "$2 is already running; you can stop it with 'weave stop-$1'." >&2 + echo "$2 is already running; you can stop it with 'weave stop'." >&2 return 1 ;; "false "*" $3")