Skip to content

Commit c55ac15

Browse files
wyqkpmichal42
authored andcommitted
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 <udknight@gmail.com> Acked-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
1 parent 320d41b commit c55ac15

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎scripts/kconfig/mconf.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,7 @@ static int handle_exit(void)
830830
fprintf(stderr, _("\n\n"
831831
"Your configuration changes were NOT saved."
832832
"\n\n"));
833+
res = 0;
833834
}
834835

835836
return res;

0 commit comments

Comments
 (0)