Replace exit(-1) by exit(1)

exit() uses only the least significant byte of its argument.
This commit is contained in:
Markus Armbruster 2011-10-29 20:25:01 +02:00
parent 06753c7e2b
commit f006e373f9

View file

@ -267,7 +267,7 @@ main(int argc, char *argv[])
write_sects(); write_sects();
qprint("writing to sectors file...\n"); qprint("writing to sectors file...\n");
if (!ef_close(EF_SECTOR)) if (!ef_close(EF_SECTOR))
exit(-1); exit(1);
output(); output();
qprint("\n\nA script for adding all the countries can be found in \"%s\".\n", qprint("\n\nA script for adding all the countries can be found in \"%s\".\n",