From 94e243d8d0177e023ee22ca58becab8dacb9f5db Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 9 Oct 2014 19:05:24 -0400 Subject: [PATCH] Hooks - Added 'read -t 1' as an example for the on-exit sample hook. --- scripts/hooks/on-exit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hooks/on-exit b/scripts/hooks/on-exit index 60e02d18a..2260d89b5 100755 --- a/scripts/hooks/on-exit +++ b/scripts/hooks/on-exit @@ -11,7 +11,7 @@ # - all emitted non-JSON lines are considered feedback messages if the exit # code is zero, otherwise they are considered errors. -while read modified_task +while read -t 1 modified_task do # Scan task done