diff --git a/hack/generate-manifest.sh b/hack/generate-manifest.sh index 7346f1afeda..812d27b6b2e 100755 --- a/hack/generate-manifest.sh +++ b/hack/generate-manifest.sh @@ -167,7 +167,7 @@ if [ "$MODE" == "release" ] && [ -z "$IMG_TAG" ]; then exit 1 fi -if [ "$MODE" == "release" ] && [ ! -z "$VERBOSE_LOG" ]; then +if [ "$MODE" == "release" ] && $VERBOSE_LOG; then echoerr "--verbose-log works only with 'dev' mode" print_help exit 1