Commit bf7599e2 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix; not check return value from swapexp properly.

parent 48413ae3
......@@ -139,7 +139,7 @@ $result = exec("$TBSUEXEC_PATH $uid $unix_gid ".
"webswapexp -s $inout $exp_pid $exp_eid",
$output, $retval);
if ($retval < 0) {
if ($retval) {
echo "<br><br><h2>
Swap Failure($retval): Output as follows:
</h2>
......
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