This commit is contained in:
Robert Kaussow 2023-08-07 10:15:46 +02:00
parent e914886441
commit 883ae58e60
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class CheckBecomeUser(StandardBase):
if not errors:
gen = (task for task in tasks if "become" in task)
for task in gen:
if task["become"] in true_value and "become_user" not in task.keys():
if task["become"] in true_value and "become_user" not in task:
errors.append(self.Error(task["__line__"], self.helptext))
return self.Result(candidate.path, errors)