Hooks: Remove read loop from example on-exit hook

There is no input to the on-exit script. Prevents error:
"Hook Error: Expected 0 JSON task(s), found 1"

Signed-off-by: Wilhelm Schuermann <wimschuermann@googlemail.com>
This commit is contained in:
Jochen Sprickerhof 2015-03-30 12:05:07 +02:00 committed by Wilhelm Schuermann
parent df3f8ead11
commit c27f5d23b6

View file

@ -3,13 +3,6 @@
# The on-exit event is triggered once, after all processing is complete.
# This hooks script has no effect on processing.
# Input:
# - Read-only line of JSON for each task added/modified
while read modified_task
do
echo $modified_task
done
# Output:
# - Optional feedback/error.
echo 'on-exit'