From 7ea185038790d5081a4541f0399eed6a24f6a505 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 28 Jun 2018 13:38:08 +0200 Subject: bin/ii-connect: wait maximal 30 seconds for changes --- bin/ii-connect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ii-connect') diff --git a/bin/ii-connect b/bin/ii-connect index bbc9492..df5e2bd 100755 --- a/bin/ii-connect +++ b/bin/ii-connect @@ -46,7 +46,7 @@ if [ "$1" = 'watch' ]; then # this avoids missing modifications during our last execution if [ -z "${said}" ]; then # shellcheck disable=SC2046 - inotifywait -e 'CLOSE_WRITE,CLOSE' -e 'CREATE,ISDIR' $( + inotifywait -t 30 -e 'CLOSE_WRITE,CLOSE' -e 'CREATE,ISDIR' $( find "${irc_dir}" \ -type f \ -name 'out' -o \ -- cgit v1.2.3