test_sysusers_defined: support new ! line flag for creating fully locked accounts
For https://github.com/systemd/systemd/pull/34876.
This commit is contained in:
parent
2c6a4e2f90
commit
e42eed4afd
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ def parse_sysusers_file(filename):
|
|||
continue
|
||||
words = line.split()
|
||||
match words[0]:
|
||||
case 'u':
|
||||
case 'u'|'u!':
|
||||
users.add(words[1])
|
||||
case 'g':
|
||||
groups.add(words[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue