old jobs removal

This commit is contained in:
ville rantanen
2014-09-03 13:23:03 +03:00
parent 3f3159b23e
commit cba2e4f5ef
4 changed files with 27 additions and 7 deletions

View File

@@ -146,6 +146,7 @@ function whenfilechanges() {
}
local fname
local forced
local otime
local ntime
local i
@@ -174,7 +175,8 @@ function whenfilechanges() {
date
}
done
sleep 2
read -t 2 forced
[ $? -eq 0 ] && eval "$@"
done
}