From 79f14da5b140e935593aa1a7d2d92b659d31c330 Mon Sep 17 00:00:00 2001 From: Mobin Aydinfar Date: Fri, 11 Aug 2023 13:13:23 +0330 Subject: [PATCH] dinit: show in `--version` that if dinit was compiled with supplemental groups Signed-off-by: Mobin "Hojjat" Aydinfar --- src/dinit.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dinit.cc b/src/dinit.cc index d6be23d4..e5154b1b 100644 --- a/src/dinit.cc +++ b/src/dinit.cc @@ -1115,6 +1115,9 @@ static void printVersion() #endif #ifdef USE_UTMPX +1 +#endif +#if USE_INITGROUPS + +1 #endif ; if (feature_count != 0) { @@ -1124,6 +1127,9 @@ static void printVersion() #endif #ifdef USE_UTMPX " utmp" +#endif +#if USE_INITGROUPS + " supplemental-groups" #endif "\n"; }