From f04f45d199d3af5521f66eab7d9cb86d19b19556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 16 Sep 2024 11:59:08 +0200 Subject: [PATCH] make sure allmake sure all arrays have always a value --- src/nixos-anywhere.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nixos-anywhere.sh b/src/nixos-anywhere.sh index eaed15bc..847b550c 100755 --- a/src/nixos-anywhere.sh +++ b/src/nixos-anywhere.sh @@ -52,9 +52,9 @@ sshKeyDir=$(mktemp -d) trap 'rm -rf "$sshKeyDir"' EXIT mkdir -p "$sshKeyDir" -declare -A diskEncryptionKeys -declare -a nixCopyOptions -declare -a sshArgs +declare -A diskEncryptionKeys=() +declare -a nixCopyOptions=() +declare -a sshArgs=() showUsage() { cat <