From edf7c005beb4c8f6fd2bf025a846bee8d9ebc9ac Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 8 May 2000 20:06:05 +0000 Subject: [PATCH] return(1) rather than exit(1) from main() to shut up HP/UX --- bin/dig/dighost.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index cbbd213e47..f697103554 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -1540,5 +1540,9 @@ main(int argc, char **argv) { do_lookup_udp(lookup); isc_app_run(); free_lists(); - exit (1); /* Should never get here. */ + + /* + * Should never get here. + */ + return (1); }