From 5b71f8529ec4578d275e284216a37cefc0117bad Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 16 Aug 2024 23:25:56 +0200 Subject: [PATCH] fixup! fixup! cluster/services/storage: test in simulacrum --- cluster/services/storage/garage-options.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/services/storage/garage-options.nix b/cluster/services/storage/garage-options.nix index 7cfcbcd..64eaacd 100644 --- a/cluster/services/storage/garage-options.nix +++ b/cluster/services/storage/garage-options.nix @@ -179,7 +179,7 @@ in key = { destroyAfterDays = 0; create = key: '' - if [[ "$(garage key info ${lib.escapeShellArg key}) 2>&1 >/dev/null)" == "Error: 0 matching keys" ]]; then + if [[ "$(garage key info ${lib.escapeShellArg key} 2>&1 >/dev/null)" == "Error: 0 matching keys" ]]; then # don't print secret key garage key new --name ${lib.escapeShellArg key} >/dev/null echo Key ${lib.escapeShellArg key} was created.