From 39cfb6b05a487a978f526e13d427257be516d246 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 18 Aug 2003 20:55:46 +0000 Subject: [PATCH] Only give exit status of 0=OK if we really mean it (Mantis bug #26) --- src/dbStatic/dbExpand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dbStatic/dbExpand.c b/src/dbStatic/dbExpand.c index 214aaf2c6..6f43b5fc2 100644 --- a/src/dbStatic/dbExpand.c +++ b/src/dbStatic/dbExpand.c @@ -48,7 +48,7 @@ int main(int argc,char **argv) "-S substitutions -S substitutions" " file1.dbd file2.dbd ...\n"); fprintf(stderr,"Specifying path will replace the default '.'\n"); - exit(0); + exit(1); } while((strncmp(argv[1],"-I",2)==0)||(strncmp(argv[1],"-S",2)==0)) { if(strncmp(argv[1],"-I",2)==0) { @@ -76,7 +76,7 @@ int main(int argc,char **argv) "-S substitutions -S substitutions" " file1.dbd file2.dbd ...\n"); fprintf(stderr,"Specifying path will replace the default '.'\n"); - exit(0); + exit(1); } for(i=1; i