about summary refs log tree commit diff
path: root/nixos/tests/systemd-shutdown.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/systemd-shutdown.nix')
-rw-r--r--nixos/tests/systemd-shutdown.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/systemd-shutdown.nix b/nixos/tests/systemd-shutdown.nix
index dad8167f198fc..ca6754046f57a 100644
--- a/nixos/tests/systemd-shutdown.nix
+++ b/nixos/tests/systemd-shutdown.nix
@@ -22,6 +22,6 @@ in {
     machine.wait_for_console_text("Unmounting '/oldroot'")
     machine.wait_for_console_text("${msg}")
     # Don't try to sync filesystems
-    machine.booted = False
+    machine.wait_for_shutdown()
   '';
 })