aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKARBOWSKI Piotr <piotr.karbowski@gmail.com>2016-02-20 21:03:11 +0100
committerKARBOWSKI Piotr <piotr.karbowski@gmail.com>2016-02-20 21:03:11 +0100
commit638a6a50e2ee51a998c42a2558dfbfa739e921d7 (patch)
tree331061d1fd72c8ea38e814af6fd58c45a5eceddb
parentTODO update (diff)
parentunlock-luks: do not treat \ char specially (diff)
downloadbetter-initramfs-638a6a50e2ee51a998c42a2558dfbfa739e921d7.tar.xz
better-initramfs-638a6a50e2ee51a998c42a2558dfbfa739e921d7.zip
Merge remote-tracking branch 'zx2c4/master' into devel
-rwxr-xr-xsourceroot/bin/unlock-luks4
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'