Skip to content

Commit

Permalink
Update cryptroot-ask.sh
Browse files Browse the repository at this point in the history
use singular argument for timeout value -- plural values create an invalid cryptsetup command line.
  • Loading branch information
PaulCharlton authored Jun 18, 2024
1 parent 5d2bda4 commit 5a32e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/90crypt/cryptroot-ask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ fi

if [ $ask_passphrase -ne 0 ]; then
luks_open="$(command -v cryptsetup) $cryptsetupopts luksOpen"
_timeout=$(getargs "rd.luks.timeout")
_timeout=$(getarg "rd.luks.timeout")
_timeout=${_timeout:-0}
ask_for_password --ply-tries 5 \
--ply-cmd "$luks_open -T1 $device $luksname" \
Expand Down

0 comments on commit 5a32e19

Please sign in to comment.