|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
From ff1720307554405a422281591dba9b79f085799b Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
From: Yi EungJun <semtlenori@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
Date: Tue, 31 Jan 2017 00:24:06 +0900
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
Subject: [PATCH] journal-gatewayd: return -EINVAL if ARG_TRUST and HAVE_GNUTLS
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
(#5181)
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
This bug was introduced by 1aa1e59.
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
(cherry picked from commit 3ab2feefd7d1918e8f0d0edaea46a87cbed0f211)
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
---
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
src/journal-remote/journal-gatewayd.c | 1 +
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
1 file changed, 1 insertion(+)
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
index be6d41c31b..c7c6224421 100644
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
--- a/src/journal-remote/journal-gatewayd.c
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
+++ b/src/journal-remote/journal-gatewayd.c
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
@@ -958,6 +958,7 @@ static int parse_argv(int argc, char *argv[]) {
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
break;
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
#else
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
log_error("Option --trust is not available.");
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
+ return -EINVAL;
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
#endif
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
case 'D':
|
|
Zbigniew Jędrzejewski-Szmek |
5d6eed |
arg_directory = optarg;
|