Commit 88dd6be3 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor syntax change to argument processing

parent 128af119
......@@ -22,14 +22,13 @@ if ($#ARGV < 1 || $#ARGV > 2 ||
}
if ($#ARGV == 2) {
$pid = $ARGV[1];
$eid = $ARGV[2];
shift;
$dolog = 0;
}
else {
($pid,$eid) = @ARGV;
$dolog = 1;
}
($pid,$eid) = @ARGV;
use DBI;
$dbh=&tbs_initdbi($TBDB);
......
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