Commit 14ff7af4 authored by Leigh Stoller's avatar Leigh Stoller

Skip loop when nologins set.

parent f74f714b
......@@ -161,10 +161,16 @@ while (1) {
my @informtbopsfatal = ();
my @informtbopswarn = ();
my @tmp = ();
my $disabled;
print "Running at ".
POSIX::strftime("20%y-%m-%d %H:%M:%S", localtime()) . "\n";
if (! TBGetSiteVar("web/nologins", \$disabled) || $disabled) {
print " Skipping this loop cause of nologins\n";
goto loop;
}
#
# Look for nodes in a wierd state. Lets test them.
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment