Commit 60f2bf87 authored by Leigh Stoller's avatar Leigh Stoller

Minor fix, minor tweak.

parent 1e0b190b
......@@ -1774,8 +1774,8 @@ sub CheckReservationInternal($$$)
$agg->webtask()->Refresh();
$errmsg = $agg->webtask()->output();
$errcode = $agg->webtask()->exitcode();
if ($code == GENIRESPONSE_REFUSED) {
system("/bin/echo 'DENIED: $slice, $expiration, $agg' ".
if ($errcode == GENIRESPONSE_REFUSED) {
system("/bin/echo 'DENIED: $slice, $expiration, $agg, $errmsg'".
" >> $rescheck");
}
goto bad;
......
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