aboutsummaryrefslogtreecommitdiffstats
path: root/common/argparse.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-07-26 14:01:32 +0000
committerWerner Koch <[email protected]>2010-07-26 14:01:32 +0000
commitca279dc707df0cdca43271ba02133327a138f625 (patch)
tree53cb5c3a804bb9c8ddffdc0a2bb0e3ecd8f22b40 /common/argparse.c
parentAdd new set_binary feature to estream (diff)
downloadgnupg-ca279dc707df0cdca43271ba02133327a138f625.tar.gz
gnupg-ca279dc707df0cdca43271ba02133327a138f625.zip
Some work on the dirmngr
Diffstat (limited to '')
-rw-r--r--common/argparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/argparse.c b/common/argparse.c
index aa7dc5b02..f6b599683 100644
--- a/common/argparse.c
+++ b/common/argparse.c
@@ -267,7 +267,7 @@ initialize( ARGPARSE_ARGS *arg, const char *filename, unsigned *lineno )
else
jnlib_log_error (_("invalid option \"%.50s\"\n"), s);
}
- if ( arg->err != 1 )
+ if (arg->err != ARGPARSE_PRINT_WARNING)
exit (2);
arg->err = 0;
}