taskwarrior/scripts/hooks/on-exit
Jochen Sprickerhof c27f5d23b6 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>
2015-03-30 21:38:25 +02:00

13 lines
297 B
Bash
Executable file

#!/bin/sh
# The on-exit event is triggered once, after all processing is complete.
# This hooks script has no effect on processing.
# Output:
# - Optional feedback/error.
echo 'on-exit'
# Status:
# - 0: JSON ignored, non-JSON is feedback.
# - non-0: JSON ignored, non-JSON is error.
exit 0