From 2354e300c13c16922341567feb28b80fd3b7885b Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sat, 13 Jul 2013 19:57:31 +0000 Subject: [PATCH] add inuse check --- webif/plugin/sweeper/auto.hook | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webif/plugin/sweeper/auto.hook b/webif/plugin/sweeper/auto.hook index e978282..cfcad0f 100644 --- a/webif/plugin/sweeper/auto.hook +++ b/webif/plugin/sweeper/auto.hook @@ -145,6 +145,11 @@ proc ::sweeper::scan {args} { continue } + if {[$ts inuse]} { + log "Recording in use." 2 + continue + } + foreach rule $rules { if {[::sweeper::runrule $ts $rule]} break }