Commit 50e3f7d3 authored by Leigh B Stoller's avatar Leigh B Stoller

Better return message/value for failed tarfile setup.

parent 027cb928
......@@ -3717,8 +3717,9 @@ sub SliverWorkAux($$$$$$$$)
#
$output = GeniUtil::ExecQuiet("$TARFILES_SETUP -q $pid $eid");
if ($?) {
$message = "Could not setup tarfiles:\n$output";
my $message = "Could not setup tarfiles:\n$output";
print STDERR $message;
$response = GeniResponse->Create(GENIRESPONSE_BADARGS, undef, $message);
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