Skip to content

Commit

Permalink
Print build feature relevant to netlogd in version
Browse files Browse the repository at this point in the history
  • Loading branch information
cgzones committed Oct 30, 2024
1 parent 1d295ff commit 60f9729
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/netlog/systemd-netlogd.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ static int parse_argv(int argc, char *argv[]) {

case ARG_VERSION:
puts(PACKAGE_STRING);
puts(SYSTEMD_FEATURES);
#ifdef HAVE_OPENSSL
puts("+OPENSSL");
#else
puts("-OPENSSL");
#endif
return 0;

case ARG_CURSOR:
Expand Down

0 comments on commit 60f9729

Please sign in to comment.