X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=config%2Fdolconf.c;h=72ee730e4681fc7e70718067415f512a1870378d;hb=8affe2ff5a4c2125128d9a9510aa67b29c0c0b18;hp=663e2357218556ff3952eee3e779c3672c59b078;hpb=714e16fb945e1a852cc011d9c52ceb98384177bc;p=doldaconnect.git diff --git a/config/dolconf.c b/config/dolconf.c index 663e235..72ee730 100644 --- a/config/dolconf.c +++ b/config/dolconf.c @@ -731,10 +731,11 @@ int main(int argc, char **argv) break; case 'w': state = 0; + break; case 'h': default: fprintf((c == 'h')?stdout:stderr, "usage: dolconf [-haw]\n"); - break; + exit((c == 'h')?0:1); } }