diff --git a/tools/kconfig-frontends/frontends/mconf/mconf.c b/tools/kconfig-frontends/frontends/mconf/mconf.c index f037e967de..23b19fe951 100644 --- a/tools/kconfig-frontends/frontends/mconf/mconf.c +++ b/tools/kconfig-frontends/frontends/mconf/mconf.c @@ -1058,7 +1058,7 @@ int main(int ac, char **av) conf_set_message_callback(NULL); av++; res = handle_exit(); - return 1; + return res; } do {