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

Minor bug fix to library import.

Do not run this script when NoLogins is on.
parent f1f089d5
......@@ -54,8 +54,7 @@ $GENI_DBNAME = "geni-ch";
# Now we can load the libraries after setting the proper DB.
use lib '@prefix@/lib';
use libaudit;
require GeniDB;
import GeniDB;
use libEmulab;
# For error log.
my $errors = 0;
......@@ -68,6 +67,16 @@ if (! getopts($optlist, \%options)) {
# Do not run when the testbed is disabled.
if (NoLogins());
# Leave this after the NoLogins check, for initial install.
require GeniDB;
import GeniDB;
# Record output in case of error.
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