From f2f6e52a21cf2f90c0549df106d08cb2f79767c4 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 14 Apr 2018 14:35:22 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitor-uucp | 3 --- 1 file changed, 3 deletions(-) (limited to 'monitor-uucp') diff --git a/monitor-uucp b/monitor-uucp index 412c707..21d6f94 100755 --- a/monitor-uucp +++ b/monitor-uucp @@ -53,12 +53,9 @@ while true; do done if $watched || [[ $slept -ge $(($sleepTimeout / $sleep)) ]]; then - printf "inotify (%s)\n" $(date +"%T") @inotify@/bin/inotifywait -r -e access /var/spool/uucp &>/dev/null - slept=0 else sleep 0.1 - printf "." slept=$(($slept + 1)) fi done -- cgit v1.2.3