]> git.hungrycats.org Git - linux/commitdiff
[PATCH] kconfig: fix menuconfig exit code
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 13:12:01 +0000 (05:12 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 13:12:01 +0000 (05:12 -0800)
From: Sam Ravnborg <sam@ravnborg.org>

If the user decides to not write the config file out, menuconfig exits with
a non-zero code.  This causes make to allege that there was an error.

scripts/kconfig/mconf.c

index ca8b1ce356a6694b2838e891aa35ded439c270c9..1a8e7c414445354056cf4699d18c311ddec7d743 100644 (file)
@@ -800,7 +800,6 @@ int main(int ac, char **av)
                fprintf(stderr, "\n\n"
                        "Your kernel configuration changes were NOT saved."
                        "\n\n");
-               return 1;
        }
 
        return 0;