diff --git a/nbase/configlocal.m4 b/nbase/configlocal.m4 index f1c9624f0..2b50fd364 100644 --- a/nbase/configlocal.m4 +++ b/nbase/configlocal.m4 @@ -97,9 +97,9 @@ int main(void) { hbuf, 256, NULL, 0, NI_NUMERICHOST); if (error) { - exit(1); + return 1; } else { - exit(0); + return 0; } } ],[ diff --git a/nbase/configure b/nbase/configure index 8ca7fb0e5..6832563b7 100755 --- a/nbase/configure +++ b/nbase/configure @@ -4705,9 +4705,9 @@ int main(void) { hbuf, 256, NULL, 0, NI_NUMERICHOST); if (error) { - exit(1); + return 1; } else { - exit(0); + return 0; } }