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.