[ldns-users] ldns-read-zone exit code wrong for failure
Paul Wouters
paul at xelerance.com
Tue Aug 7 06:00:36 UTC 2007
ldns-read-zone does not return a failure properly, patch below
Paul
*** ldns-read-zone.c.orig 2007-08-07 00:09:55.000000000 -0400
--- ldns-read-zone.c 2007-08-07 00:10:34.000000000 -0400
***************
*** 86,91 ****
--- 86,92 ----
fprintf(stderr, "%s at %d\n",
ldns_get_errorstr_by_id(s),
line_nr);
+ exit(EXIT_FAILURE);
}
fclose(fp);
More information about the ldns-users
mailing list