diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-02-20 19:58:00 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-02-20 19:59:06 +0100 |
commit | e0dabda85effc1d54dc9cd2ed93c4e0c4f7ebb2a (patch) | |
tree | 1958944b39eca4b791c92f350e5092058192714e | |
parent | ChangeLog update for the git tag. (diff) | |
download | better-initramfs-e0dabda85effc1d54dc9cd2ed93c4e0c4f7ebb2a.tar.xz better-initramfs-e0dabda85effc1d54dc9cd2ed93c4e0c4f7ebb2a.zip |
unlock-luks: do not treat \ char specially
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rwxr-xr-x | sourceroot/bin/unlock-luks | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sourceroot/bin/unlock-luks b/sourceroot/bin/unlock-luks index bcb2ce3..2021eea 100755 --- a/sourceroot/bin/unlock-luks +++ b/sourceroot/bin/unlock-luks @@ -40,7 +40,7 @@ fi printf 'Enter password: ' stty -echo -read luks_password +read -r luks_password stty echo -printf "${luks_password}" >/luks_passfifo +printf "%s" "${luks_password}" >/luks_passfifo printf '\n' |