mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Merge pull request #73046 from curiousleo/patch-1
nixos/tests: correct arguments to get_unit_info
This commit is contained in:
commit
80de79c816
|
@ -306,7 +306,7 @@ class Machine:
|
|||
if state == "inactive":
|
||||
status, jobs = self.systemctl("list-jobs --full 2>&1", user)
|
||||
if "No jobs" in jobs:
|
||||
info = self.get_unit_info(unit)
|
||||
info = self.get_unit_info(unit, user)
|
||||
if info["ActiveState"] == state:
|
||||
raise Exception(
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue