aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-27 22:41:09 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-27 22:41:09 +0000
commit0d576c7eccc8183e72b675b18a49d6b5c40f5e83 (patch)
tree2fd5a14afff3887451c36fdf098afb249dcd959c /kiss
parent0906940147719272b6881a8b66e528665644d283 (diff)
downloadcpt-0d576c7eccc8183e72b675b18a49d6b5c40f5e83.tar.gz
kiss: read empty IFS
FossilOrigin-Name: 42cb7f49f2b9c6870ef75a7fb22376fddedbedb9dc387299911f9741d26abfe7
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 3b7de2e..28b0161 100755
--- a/kiss
+++ b/kiss
@@ -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'