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

Another minor fix!

parent a7c2f949
...@@ -27,7 +27,6 @@ my $TB = "@prefix@"; ...@@ -27,7 +27,6 @@ my $TB = "@prefix@";
my $TBOPS = "@TBOPSEMAIL@"; my $TBOPS = "@TBOPSEMAIL@";
my $ELABINELAB = @ELABINELAB@; my $ELABINELAB = @ELABINELAB@;
my $SAVEUID = $UID; my $SAVEUID = $UID;
my $TBOPSPID = TBOPSPID();
# un-taint path # un-taint path
$ENV{'PATH'} = '/bin:/usr/bin:/usr/sbin:/usr/local/bin'; $ENV{'PATH'} = '/bin:/usr/bin:/usr/sbin:/usr/local/bin';
...@@ -40,6 +39,9 @@ use lib "@prefix@/lib"; ...@@ -40,6 +39,9 @@ use lib "@prefix@/lib";
use libdb; use libdb;
use libtestbed; use libtestbed;
# Defined in libdb ...
my $TBOPSPID = TBOPSPID();
if (!$ELABINELAB) { if (!$ELABINELAB) {
die("*** $0:\n". die("*** $0:\n".
" This script can only run on an inner Emulab!\n"); " This script can only run on an inner Emulab!\n");
......
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