From: Martin Mares Date: Fri, 28 Apr 2006 09:22:27 +0000 (+0200) Subject: The --dumpconfig option stops the program after dumping. X-Git-Tag: holmes-import~645^2~11^2~8 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=5633856b0028d65d53e21ddd4fda312bd8d9fbb1;p=libucw.git The --dumpconfig option stops the program after dumping. --- diff --git a/lib/conf2.c b/lib/conf2.c index 04b4a639..a8f24462 100644 --- a/lib/conf2.c +++ b/lib/conf2.c @@ -1429,6 +1429,7 @@ cf_getopt(int argc, char * const argv[], const char *short_opts, const struct op struct fastbuf *b = bfdopen(1, 4096); cf_dump_sections(b); bclose(b); + exit(0); } #endif } else {