Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
064f04fe
Commit
064f04fe
authored
Sep 14, 2015
by
Leigh B Stoller
Browse files
Minor tweak to error handling to avoid some email to tbops.
parent
18a7e659
Changes
1
Hide whitespace changes
Inline
Side-by-side
apt/create_instance.in
View file @
064f04fe
...
...
@@ -312,10 +312,10 @@ else {
# SetSites will tell us if we must use stitcher.
#
my
$needstitcher
=
0
;
if
(
APT_Profile::
SetSites
(
\
$rspecstr
,
$sitemap
,
$default_aggregate_urn
,
\
@aggregate_urns
,
\
$needstitcher
,
\
$errmsg
)
)
{
fatal
(
$errmsg
);
my
$tmp
=
APT_Profile::
SetSites
(
\
$rspecstr
,
$sitemap
,
$default_aggregate_urn
,
\
@aggregate_urns
,
\
$needstitcher
,
\
$errmsg
);
if
(
$tmp
)
{
(
$tmp
<
0
?
fatal
(
$errmsg
)
:
UserError
(
$errmsg
))
;
}
# but do not override command line force.
$usestitcher
=
1
if
(
$needstitcher
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment