Skip to content

Commit

Permalink
dinit: show in --version that if dinit was compiled with supplement…
Browse files Browse the repository at this point in the history
…al groups

Signed-off-by: Mobin "Hojjat" Aydinfar <[email protected]>
  • Loading branch information
mobin-2008 committed Aug 13, 2023
1 parent 0212d3c commit 79f14da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/dinit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,9 @@ static void printVersion()
#endif
#ifdef USE_UTMPX
+1
#endif
#if USE_INITGROUPS
+1
#endif
;
if (feature_count != 0) {
Expand All @@ -1124,6 +1127,9 @@ static void printVersion()
#endif
#ifdef USE_UTMPX
" utmp"
#endif
#if USE_INITGROUPS
" supplemental-groups"
#endif
"\n";
}
Expand Down

0 comments on commit 79f14da

Please sign in to comment.