Commit 65315090 authored by Leigh Stoller's avatar Leigh Stoller

Silence a few output statements.

parent 9143326f
......@@ -397,7 +397,8 @@ sub nodereboot($$)
tberror "Failed ($?)!";
}
else {
print STDOUT "reboot ($node): Successful!\n";
print STDOUT "reboot ($node): Successful!\n"
if (!$silent);
}
}
}
......@@ -507,10 +508,12 @@ sub RebootNode {
tblog_sub_process("reboot_node", $pc);
if ($reconfig) {
print "reboot ($pc): Attempting to reconfigure ...\n";
print "reboot ($pc): Attempting to reconfigure ...\n"
if (!$silent);
}
else {
print "reboot ($pc): Attempting to reboot ...\n";
print "reboot ($pc): Attempting to reboot ...\n"
if (!$silent);
}
# Report some activity into last_ext_act
......
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