From 3ab2feefd7d1918e8f0d0edaea46a87cbed0f211 Mon Sep 17 00:00:00 2001 From: Yi EungJun Date: Tue, 31 Jan 2017 00:24:06 +0900 Subject: [PATCH] journal-gatewayd: return -EINVAL if ARG_TRUST and HAVE_GNUTLS (#5181) This bug was introduced by 1aa1e59. --- src/journal-remote/journal-gatewayd.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.3