diff options
author | Robert Hensing <robert@roberthensing.nl> | 2021-11-05 01:43:22 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2021-11-05 02:41:26 +0100 |
commit | 739c51ae4ef9535b37672d7dc303bce432562922 (patch) | |
tree | 9da4fc54649597897f3c65c78991fab74ee0f87f /nixos/tests/hibernate.nix | |
parent | 698fb089d8276ac6907ae3a13ee1933a59e12112 (diff) |
nixosTests: Redirect stdout to stderr when detaching
Avoids blocking on stdout.
Diffstat (limited to 'nixos/tests/hibernate.nix')
-rw-r--r-- | nixos/tests/hibernate.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/hibernate.nix b/nixos/tests/hibernate.nix index 508e7aa64c0df..4f05b99a5a116 100644 --- a/nixos/tests/hibernate.nix +++ b/nixos/tests/hibernate.nix @@ -110,7 +110,7 @@ in makeTest { ) # Hibernate machine - hibernate.execute("systemctl hibernate &", check_return=False) + hibernate.execute("systemctl hibernate >&2 &", check_return=False) hibernate.wait_for_shutdown() # Restore machine from hibernation, validate our ramfs file is there. |