simplify error message

This commit is contained in:
Matthias Radestock committed 2014-09-11 07:19:14 +01:00
1 parent dbbb8c690a
commit b6351acb66
1 file changed
+2 -2
+2 -2
View File
@@ -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