diff --git a/src/wrap.c b/src/wrap.c index 083c527aed32cd54a0fdf97d1d07ccafb0388371..b627f31658a778724c3289243df328a149ac4c41 100644 --- a/src/wrap.c +++ b/src/wrap.c @@ -856,9 +856,12 @@ main (int argc, const char *equals = strchr (opt_env_if_host[i], '='); if (equals == NULL) - g_printerr ("%s: --env-if-host argument must be of the form " - "NAME=VALUE, not \"%s\"\n", - g_get_prgname (), opt_env_if_host[i]); + { + g_printerr ("%s: --env-if-host argument must be of the form " + "NAME=VALUE, not \"%s\"\n", + g_get_prgname (), opt_env_if_host[i]); + goto out; + } } }