X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=config%2Fconf.c;h=2f968e25b3c0c8bf40972ccd324815c6cc5d4391;hp=130335f371ec1c2ffc61404c8fd2d6812ae9a88b;hb=31deb4896c4f5f2cbf3cef0eac9f547e8440c460;hpb=4416b9e4ef3eac922cff7913a1355518379990d1 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); }