Skip to content

Commit fde12bc

Browse files
misumisumimergify[bot]
authored andcommitted
Fix: an error where a directory could not be created when there were multiple decrypt keys
1 parent 5ccebbc commit fde12bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/install/run-nixos-anywhere.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ while [[ $# -gt 0 ]]; do
6262
echo "Script file '$2' is not executable"
6363
exit 1
6464
fi
65-
mkdir "${tmpdir}/keys"
65+
mkdir -p "${tmpdir}/keys"
6666
"$2" >"${tmpdir}/keys/$keyIdx"
6767
args+=("--disk-encryption-keys" "$1" "${tmpdir}/keys/$keyIdx")
6868
shift

0 commit comments

Comments
 (0)