From: Yi EungJun Date: Mon, 30 Jan 2017 15:24:06 +0000 (+0900) Subject: journal-gatewayd: return -EINVAL if ARG_TRUST and HAVE_GNUTLS (#5181) X-Git-Tag: v233~201 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ab2feefd7d1918e8f0d0edaea46a87cbed0f211;p=thirdparty%2Fsystemd.git journal-gatewayd: return -EINVAL if ARG_TRUST and HAVE_GNUTLS (#5181) This bug was introduced by 1aa1e59. --- diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c index 36160179188..f86b67faa27 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;