From c171d895547edb864513dbacf6614def5dd75020 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 26 Jul 2015 20:33:25 -0400 Subject: [PATCH] ldap: Actually read from stdin if available. I made a silly mistake while merging, sorry. --- actions/ldap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actions/ldap b/actions/ldap index bb42c5996..cf0dc75eb 100755 --- a/actions/ldap +++ b/actions/ldap @@ -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