simplify error message
This commit is contained in:
1 parent
dbbb8c690a
commit
b6351acb66
1 file changed
+2
-2
+2
-2
@@ -88,11 +88,11 @@ case "$COMMAND" in
|
||||
;;
|
||||
status)
|
||||
if ! DOCKERIP=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' weave 2>/dev/null) ; then
|
||||
echo "There is no weave container." >&2
|
||||
echo "Weave is not running." >&2
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "$DOCKERIP" ] ; then
|
||||
echo "The weave container is not running." >&2
|
||||
echo "Weave is not running." >&2
|
||||
exit 1
|
||||
fi
|
||||
if command_exists wget ; then
|
||||
|
||||
Reference in new issue
Block a user