Commit 281b8bc2 authored by Leigh Stoller's avatar Leigh Stoller

Remove some unneeded print statements.

parent 0a967dc6
......@@ -33,7 +33,6 @@ if ( ($sth->numrows < 1) && ($UID != 0) && ($EUID != 0)) {
die("You are not a member of experiment '$eid' in project '$pid'.\n");
}
print "Locking tables.\n";
$cmd = "lock tables nodes read, reserved write";
$sth = $dbh->query($cmd)
|| die("Locking error:\n$cmd\nError string is:".$dbh->errstr."\n");
......@@ -76,7 +75,6 @@ if (!$error && @vals) {
}
}
print "Unlocking tables.\n";
$cmd = "unlock tables";
$sth = $dbh->query($cmd)
|| die("Locking error:\n$cmd\nError string is:".$dbh->errstr."\n");
......
......@@ -34,7 +34,6 @@ if ($sth->numrows < 1) {
die("There is no experiment '$eid' in project '$pid'.\n");
}
print "Locking tables.\n";
$cmd = "lock tables nodes read, node_types read, reloads read, ".
"interfaces write, delays write, reserved write";
$sth = $dbh->query($cmd)
......@@ -120,7 +119,6 @@ foreach my $n (@node_names) {
&& $error++);
}
print "Unlocking tables.\n";
$cmd = "unlock tables";
$sth = $dbh->query($cmd)
|| die("Locking error:\n$cmd\nError string is:".$dbh->errstr."\n");
......@@ -160,7 +158,7 @@ if ( %reloads > 0 ) {
}
foreach $n ( @freed_nodes ) {
print "Setting up console for $n...\n";
print "Resetting console for $n...\n";
system("$consetup $n") == 0 or
print STDERR "WARNING: $consetup $n failed!\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