summaryrefslogtreecommitdiff
path: root/hooks-config.bash
diff options
context:
space:
mode:
Diffstat (limited to 'hooks-config.bash')
-rw-r--r--hooks-config.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks-config.bash b/hooks-config.bash
index afdbf9dd7d..3cb29afddc 100644
--- a/hooks-config.bash
+++ b/hooks-config.bash
@@ -59,7 +59,7 @@ hooks_child() {
*) prefix="./" ;;
esac
if test -x "$prefix$child" ; then
- "$prefix$child" "$@"
+ echo "$stdin" | "$prefix$child" "$@"
fi
}