From 400ccab637375811880fb3ee20d041b24c51a8bf Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Sun, 31 Mar 2024 09:55:26 -0700 Subject: [PATCH] exit with non-zero status if unable to open sysout or... (#496) --- src/xrdopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrdopt.c b/src/xrdopt.c index 55a1c3b..3759ea6 100644 --- a/src/xrdopt.c +++ b/src/xrdopt.c @@ -133,7 +133,7 @@ void print_Xusage(const char *prog) -nh-loglevel level Loglevel for Dodo networking (0..2, optional, default: 0)\n\n"); #endif fprintf(stderr, "Please refer to the manual for further information.\n\n"); - exit(0); + exit(EXIT_FAILURE); } /* end print_Xusage() */ /************************************************************************/