ldap: Actually read from stdin if available.

I made a silly mistake while merging, sorry.
This commit is contained in:
James Valleroy 2015-07-26 20:33:25 -04:00
parent 7a464d6f5f
commit c171d89554

View File

@ -18,7 +18,9 @@
# Store anything available from stdin.
# This is used to receive passwords from Plinth.
input="/proc/$$/fd/0"
if read -t 0; then
IFS= read -r input
fi
set -e # Exit on failure