X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=scanlib.pm;h=ed9fd37dd022f2ccfeb856dbc1f142b0ce60c7e0;hp=398687ba0e4011762e49dfdec80fc0fb2d4a2c49;hb=c0db4b9d56c1fbb988dffa9fff9f86d181d8b270;hpb=29552d46bcf1d191395b29cfbb7e5f4093774bc7;ds=sidebyside diff --git a/scanlib.pm b/scanlib.pm index 398687b..ed9fd37 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -319,4 +319,13 @@ sub check_worry { return 1; } +sub check_worry_stable { + my ($status) = @_; + + if ($status !~ m/ \[[^]]*S/) { + return 0; + } + return 1; +} + 1;