From 3ab2feefd7d1918e8f0d0edaea46a87cbed0f211 Mon Sep 17 00:00:00 2001 From: Yi EungJun Date: Tue, 31 Jan 2017 00:24:06 +0900 Subject: 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(+) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf