提交 c55ac154 编写于 作者: W Wang YanQing 提交者: Michal Marek

menuconfig: let make not report error when not save configuration

I find every time when I choice the 'NO' button at the dialog
which let me choice whether to save the configuration before exit
menuconfig, it always report the blow:

" GEN     /mnt/sda7/home/build/test/Makefile
  HOSTCC  scripts/kconfig/mconf.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig

Your configuration changes were NOT saved.

make[2]: *** [menuconfig] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [sub-make] Error 2 "

This patch repair it.
Signed-off-by: NWang YanQing <udknight@gmail.com>
Acked-by: NDavidlohr Bueso <dave@gnu.org>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 320d41bb
......@@ -830,6 +830,7 @@ static int handle_exit(void)
fprintf(stderr, _("\n\n"
"Your configuration changes were NOT saved."
"\n\n"));
res = 0;
}
return res;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册