Commit 064f04fe authored by Leigh B Stoller's avatar Leigh B Stoller

Minor tweak to error handling to avoid some email to tbops.

parent 18a7e659
...@@ -312,10 +312,10 @@ else { ...@@ -312,10 +312,10 @@ else {
# SetSites will tell us if we must use stitcher. # SetSites will tell us if we must use stitcher.
# #
my $needstitcher = 0; my $needstitcher = 0;
my $tmp = APT_Profile::SetSites(\$rspecstr, $sitemap, $default_aggregate_urn,
if (APT_Profile::SetSites(\$rspecstr, $sitemap, $default_aggregate_urn, \@aggregate_urns, \$needstitcher, \$errmsg);
\@aggregate_urns, \$needstitcher, \$errmsg)) { if ($tmp) {
fatal($errmsg); ($tmp < 0 ? fatal($errmsg) : UserError($errmsg));
} }
# but do not override command line force. # but do not override command line force.
$usestitcher = 1 if ($needstitcher); $usestitcher = 1 if ($needstitcher);
......
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