Skip to content

Commit

Permalink
make sure allmake sure all arrays have always a value
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Sep 16, 2024
1 parent e423fbc commit f04f45d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nixos-anywhere.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<USAGE
Expand Down

0 comments on commit f04f45d

Please sign in to comment.