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

Quickie fix; make sure assign.log is non-zero length before trying to

parse it.

Need to really fix this, but the parsing code needs a bunch of work.
This should catch the typical diskfull case where the output file is
zero.
parent 5ce7a159
......@@ -852,6 +852,12 @@ sub RunAssign ()
return -1;
}
# Check for possible full filesystem ...
if (-z "assign.log") {
print("assign.log is zero length! Stopping ...\n");
return -1;
}
# Saving up assign.log coz each swapin/modify is
# different and it is nice to have every mapping
# for debugging and archiving purposes
......
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