1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00

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-31 00:24:06 +09:00 committed by Evgeny Vereshchagin
parent 554597a1b2
commit 3ab2feefd7

View File

@ -958,6 +958,7 @@ static int parse_argv(int argc, char *argv[]) {
break; break;
#else #else
log_error("Option --trust is not available."); log_error("Option --trust is not available.");
return -EINVAL;
#endif #endif
case 'D': case 'D':
arg_directory = optarg; arg_directory = optarg;