Commit e214935c authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Init $libdb::DBQUERY_MAXTRIES to 10 since the reload daemon should

always run.
parent 96d73715
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -15,7 +15,8 @@ use Getopt::Std;
# limited for anyone else)
#
if ($UID != 0) {
die "This should only be run as root!\n";
die("*** $0:\n".
" Only root can run this script!\n");
}
#
......@@ -45,6 +46,9 @@ use lib "@prefix@/lib";
use libdb;
use libtestbed;
# Be careful not to exit on transient error
$libdb::DBQUERY_MAXTRIES = 10;
#
# These come from the library.
#
......
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