From cab1ec0e72b7364f428ee3c30fbea42efaf1a650 Mon Sep 17 00:00:00 2001 From: fredrik Date: Mon, 7 May 2007 00:53:56 +0000 Subject: [PATCH] Exit on -h... git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1008 959494ce-11ee-0310-bf91-de5d638817bd --- config/dolconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dolconf.c b/config/dolconf.c index 663e235..f18a686 100644 --- a/config/dolconf.c +++ b/config/dolconf.c @@ -734,7 +734,7 @@ int main(int argc, char **argv) case 'h': default: fprintf((c == 'h')?stdout:stderr, "usage: dolconf [-haw]\n"); - break; + exit((c == 'h')?0:1); } } -- 2.11.0