From c27f5d23b61512ad872d6a567e5e5859b456e562 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Mon, 30 Mar 2015 12:05:07 +0200 Subject: [PATCH] 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 --- scripts/hooks/on-exit | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/hooks/on-exit b/scripts/hooks/on-exit index 92a95a6ad..572b534c9 100755 --- a/scripts/hooks/on-exit +++ b/scripts/hooks/on-exit @@ -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'