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

Add some debugging code to make sure that is breaking is really what

is breaking, next time it happens.
parent 8fa24e67
......@@ -166,7 +166,12 @@ if ($ISMAINSITE) {
system("$SSHTB -host $USERNODE $PROXY log") == 0
or fatal("Could not load log entries into ops DB!");
}
unlink("${tempfile}.log");
if (-e "${tempfile}.log") {
unlink("${tempfile}.log.save")
if (-e "${tempfile}.log.save");
system("/bin/mv -f ${tempfile}.log ${tempfile}.log.save");
}
#
# Now the other tables Kevin needs
......
Supports Markdown
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