Skip to content

Commit 60f9729

Browse files
committed
Print build feature relevant to netlogd in version
1 parent 1d295ff commit 60f9729

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/netlog/systemd-netlogd.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,11 @@ static int parse_argv(int argc, char *argv[]) {
105105

106106
case ARG_VERSION:
107107
puts(PACKAGE_STRING);
108-
puts(SYSTEMD_FEATURES);
108+
#ifdef HAVE_OPENSSL
109+
puts("+OPENSSL");
110+
#else
111+
puts("-OPENSSL");
112+
#endif
109113
return 0;
110114

111115
case ARG_CURSOR:

0 commit comments

Comments
 (0)