diff --git a/nixos/modules/tests/private-storage.nix b/nixos/modules/tests/private-storage.nix
index a3ec8f508a7a6b9f4c6953aeaef9c211b7398c4d..cb7203e0ec57f394fbdb63f1211420444ef7c220 100644
--- a/nixos/modules/tests/private-storage.nix
+++ b/nixos/modules/tests/private-storage.nix
@@ -124,6 +124,8 @@ import <nixpkgs/nixos/tests/make-test.nix> {
       # Get some ZKAPs from the issuer.
       eval {
         $client->succeed('set -eo pipefail; ${get-passes} http://127.0.0.1:3456 http://issuer:8081 | systemd-cat');
+        # succeed() is not success but 1 is.
+        1;
       } or do {
         my $error = $@ || 'Unknown failure';
         my ($code, $log) = $client->execute('cat /tmp/stdout /tmp/stderr');