Commit f25f7e94 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent e8858f3e
......@@ -33,7 +33,7 @@ use POSIX ":sys_wait_h";
#
sub usage()
{
print STDERR "Usage: initilo.pl [-d] [-n] <nodeid> <ilopswd>\n";
print STDERR "Usage: initilo.pl [-d] [-n] <ilopswd> <nodeid>\n";
print STDERR "Usage: initilo.pl [-d] [-n] -o <nodeid>\n";
print STDERR "Usage: initilo.pl [-d] [-n] -c <ip> <ilopswd>\n";
exit(-1);
......@@ -157,7 +157,7 @@ my $node_id = $node->node_id();
# This has to be in the interfaces table already.
my $management_interface = Interface->LookupManagement($node);
if (defined($management_interface)) {
if (!defined($management_interface)) {
Fatal("No management interface for $node");
}
my $iloIP = $management_interface->IP();
......
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