mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-10-05 20:27:20 +03:00
Fix: an error where a directory could not be created when there were multiple decrypt keys
This commit is contained in:
parent
cd251c1f4e
commit
6d2efa2b0d
@ -62,7 +62,7 @@ while [[ $# -gt 0 ]]; do
|
||||
echo "Script file '$2' is not executable"
|
||||
exit 1
|
||||
fi
|
||||
mkdir "${tmpdir}/keys"
|
||||
mkdir -p "${tmpdir}/keys"
|
||||
"$2" >"${tmpdir}/keys/$keyIdx"
|
||||
args+=("--disk-encryption-keys" "$1" "${tmpdir}/keys/$keyIdx")
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user