journal-gatewayd: return -EINVAL if ARG_TRUST and HAVE_GNUTLS (#5181)

This bug was introduced by 1aa1e59.
This commit is contained in:
Yi EungJun
2017-01-30 18:24:06 +03:00
committed by Evgeny Vereshchagin
parent 554597a1b2
commit 3ab2feefd7
+1
View File
@@ -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;