Skip to content

Commit

Permalink
menuconfig: let make not report error when not save configuration
Browse files Browse the repository at this point in the history
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 <udknight@gmail.com>
Acked-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
Wang YanQing authored and Michal Marek committed Jan 14, 2012
1 parent 320d41b commit c55ac15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/kconfig/mconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c55ac15

Please sign in to comment.