Skip to content

Commit

Permalink
Add the "halld" specifier to the getent command to avoid intermittenc…
Browse files Browse the repository at this point in the history
…y in the success of the command.
  • Loading branch information
markito3 committed Mar 8, 2022
1 parent 64fa05e commit f48aa53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/users_create/group_parse.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
$groupid = 267;
open (YPCAT,"getent group |");
open (YPCAT,"getent group halld |");
$group_count = 0;
while (<YPCAT>) {
if (/:$groupid:/) {
Expand Down

0 comments on commit f48aa53

Please sign in to comment.