Fix output that occurs on require xCAT::Client when ip is not in path
This commit is contained in:
parent
6f9c87f6b2
commit
41e73881de
@ -29,7 +29,7 @@ if ($inet6support) {
|
||||
|
||||
if ($^O =~ /^linux/i) {
|
||||
# Is IPv6 enabled on the MN or xcat client node at all?
|
||||
my $ipv6enabled = `ip addr | grep inet6`;
|
||||
my $ipv6enabled = `ip addr 2> /dev/null | grep inet6`;
|
||||
if (!$ipv6enabled) {
|
||||
$inet6support = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user