Commit 73a42cf0 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor change to terminate; lets not CC busy errors to testbed-ops.

parent 49100dfb
......@@ -190,16 +190,19 @@ function Do_TerminateInstance()
# This needs work.
# We do not want to see the busy errors, and that is the only error
# that gets returned, that is not also emailed by the script. So just
# use the ignore option.
$retval = SUEXEC("nobody", "nobody",
"webmanage_instance terminate $uuid",
if ($retval == 0) {
SPITAJAX_ERROR(-1, "Unable to Terminate; please try again later");
SPITAJAX_ERROR(-1, "Your experiment is probably busy, ".
"please try again later.");
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