Skip to content
GitLab
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
ac88505f
Commit
ac88505f
authored
Jun 09, 2014
by
Mike Hibler
Browse files
We were not correctly gathering exit status from children.
parent
5637fac4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/power_ilo.pm.in
View file @
ac88505f
#
!/usr/bin/perl -wT
#
#
Copyright
(
c
)
2008
-
201
3
University
of
Utah
and
the
Flux
Group
.
#
Copyright
(
c
)
2008
-
201
4
University
of
Utah
and
the
Flux
Group
.
#
#
{{{
EMULAB
-
LICENSE
#
...
...
@@ -129,7 +129,7 @@ sub iloctrl($$@) {
print
"$@"
;
return
-
1
;
}
return
0
;
return
$
tret
;
};
my
@
results
=
();
my
@
ilos
=
values
(%
ilo_nodeinfo
);
...
...
@@ -431,7 +431,7 @@ sub ipmiexec($$$$$$$;$) {
if ($usekey);
my $output = `$ipmicmd 2>&1`;
my $stat = $?;
my $stat =
(
$?
>> 8)
;
# And clear them again
delete $ENV{'
IPMI_PASSWORD
'};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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