Skip to content

Commit

Permalink
make sure all arrays have always a value
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and mergify[bot] committed Sep 16, 2024
1 parent 4e18e86 commit 4f2fdae
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 4f2fdae

Please sign in to comment.