about summary refs log tree commit diff
path: root/nixos/tests/systemd-shutdown.nix
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2023-07-28 18:52:48 -0400
committerWill Fancher <elvishjerricco@gmail.com>2023-07-29 13:52:52 -0400
commit4ecd0c119a391bd53035bcec79fb6902066d3f95 (patch)
treefbad45ddc301e0b2e86b3c641a9bfcbfce7b3cc0 /nixos/tests/systemd-shutdown.nix
parent66ce081fafa2dca0038006ec7c6482d7a11d13d8 (diff)
systemd shutdownRamfs: Fix infinite shutdown loop
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()
   '';
 })