From af600aab4446814f6a1e1b0ee5b98fae6345d936 Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Fri, 12 Apr 2013 14:17:54 +0300 Subject: [PATCH] force adding a whenfilechanges function for all --- qcd_function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcd_function b/qcd_function index e6a256c..0a7418f 100644 --- a/qcd_function +++ b/qcd_function @@ -96,7 +96,7 @@ function whenfilechanges() { do ntime=$( stat -c %Z "$fname" ) [ "$ntime" -ne "$otime" ] && { eval "$@" - otime="$ntime" + otime=$( stat -c %Z "$fname" ) } sleep 2