remove redundant check

This commit is contained in:
Matthias Radestock committed 2015-05-20 15:58:22 +01:00
1 parent b119872b1b
commit 23dd02a05a
1 file changed
+1 -1
+1 -1
View File
@@ -981,7 +981,7 @@ case "$COMMAND" in
expose)
collect_cidr_args "$@"
shift $CIDR_COUNT
[ $CIDR_COUNT -gt 0 ] || get_ipam_cidr weave weave:expose
get_ipam_cidr weave weave:expose
if [ $# -eq 0 ]; then
FQDN=""
else