X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fconf.c;h=2f968e25b3c0c8bf40972ccd324815c6cc5d4391;hb=0de72262902cf8398f6163550ec54e6cc9b2cc1e;hp=130335f371ec1c2ffc61404c8fd2d6812ae9a88b;hpb=001b488249ed961ee66e61dccf23866b8d7f8dbd;p=carl9170fw.git diff --git a/config/conf.c b/config/conf.c index 130335f..2f968e2 100644 --- a/config/conf.c +++ b/config/conf.c @@ -483,6 +483,7 @@ int main(int ac, char **av) int opt; const char *name, *defconfig_file = NULL /* gcc uninit */; struct stat tmpstat; + int no_conf_write = 0; tty_stdio = isatty(0) && isatty(1); @@ -651,7 +652,7 @@ int main(int ac, char **av) /* * build so we shall update autoconf. */ - if (conf_write(NULL)) { + if (!no_conf_write && conf_write(NULL)) { fprintf(stderr, "\n*** Error during writing of the configuration.\n\n"); exit(1); }