From: Wang YanQing Date: Thu, 12 Jan 2012 03:31:32 +0000 (+0800) Subject: menuconfig: let make not report error when not save configuration X-Git-Tag: v3.3-rc1~45^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c55ac154019f628b42316bc21545ee1b2bee3db6;p=platform%2Fkernel%2Flinux-exynos.git 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: Wang YanQing Acked-by: Davidlohr Bueso Signed-off-by: Michal Marek --- diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c index 19e200d91120..86cd1ea35579 100644 --- a/scripts/kconfig/mconf.c +++ b/scripts/kconfig/mconf.c @@ -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;