We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fbb21f commit f0159e1Copy full SHA for f0159e1
1 file changed
archinstall/lib/global_menu.py
@@ -223,7 +223,7 @@ def check(s) -> bool:
223
return item.has_value()
224
225
def has_superuser() -> bool:
226
- item = self._item_group.find_by_key('!users')
+ item = self._item_group.find_by_key('users')
227
228
if item.has_value():
229
users = item.value
@@ -234,8 +234,8 @@ def has_superuser() -> bool:
234
missing = set()
235
236
for item in self._item_group.items:
237
- if item.key in ['!root-password', '!users']:
238
- if not check('!root-password') and not has_superuser():
+ if item.key in ['root_password', 'users']:
+ if not check('root_password') and not has_superuser():
239
missing.add(
240
str(_('Either root-password or at least 1 user with sudo privileges must be specified'))
241
)
0 commit comments