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

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

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