Commit f36382aa authored by Leigh B Stoller's avatar Leigh B Stoller

Do not do initial checks when NoLogins() is on.

parent 3638d1c3
#!/usr/bin/perl -w
#
# Copyright (c) 2008-2014 University of Utah and the Flux Group.
# Copyright (c) 2008-2015 University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
......@@ -1261,10 +1261,12 @@ if ($oneshot) {
}
# Do this once at startup
sleep(5);
ReportLockedSlices();
ReportOrphanedCerts();
CheckIdle();
if (! NoLogins()) {
sleep(5);
ReportLockedSlices();
ReportOrphanedCerts();
CheckIdle();
}
my $reportcounter = 0;
my $idlecounter = 0;
......
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