kiss: read empty IFS

This commit is contained in:
Dylan Araps 2020-01-28 00:41:10 +02:00
parent 63b655bdf7
commit b3485bf430
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -81,7 +81,7 @@ root_cache() {
# before. We cannot check whether or not '$pass' is empty as the
# '[' command may be external which would result in /proc leakage.
stty -F /dev/tty -echo
read -r pass < /dev/tty && cached=1
IFS= read -r pass < /dev/tty && cached=1
stty -F /dev/tty echo
printf '\n'