diff options
author | Yi EungJun <semtlenori@gmail.com> | 2017-01-31 00:24:06 +0900 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2017-01-30 18:24:06 +0300 |
commit | 3ab2feefd7d1918e8f0d0edaea46a87cbed0f211 (patch) | |
tree | 8efd273e799c6fa23ef8939685f35ac1dc92e472 /src | |
parent | 554597a1b27ad0a81f4ad0884b348d475e89cb9e (diff) |
journal-gatewayd: return -EINVAL if ARG_TRUST and HAVE_GNUTLS (#5181)
This bug was introduced by 1aa1e59.
Diffstat (limited to 'src')
-rw-r--r-- | src/journal-remote/journal-gatewayd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c index 3616017918..f86b67faa2 100644 --- a/src/journal-remote/journal-gatewayd.c +++ b/src/journal-remote/journal-gatewayd.c @@ -958,6 +958,7 @@ static int parse_argv(int argc, char *argv[]) { break; #else log_error("Option --trust is not available."); + return -EINVAL; #endif case 'D': arg_directory = optarg; |