Commit e3394b92 authored by Kevin Atkinson's avatar Kevin Atkinson

Fix bug introduced by in rev 1.137 "Silence some output when quiet

mode is on".  Only silence final output of error if $xmlout is not set
as the xmlrpc server depends on this output, but also sets $quiet.
parent d8780466
......@@ -865,7 +865,7 @@ if (! $batch && ! $template_mode && !$genimode) {
my $exit_code = $? >> 8;
if (!$quiet && $exit_code != 0) {
if ($exit_code != 0) {
my $d = tblog_lookup_error();
my $output = tblog_format_error($d);
if ($xmlout) {
......@@ -880,7 +880,7 @@ if (! $batch && ! $template_mode && !$genimode) {
}
$d->{output} = $output;
print SOUT RPC::XML::response->new($d)->as_string(), "\n";
} else {
} elsif (!$quiet) {
print $output;
}
}
......
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