mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Fix output that occurs on require xCAT::Client when ip is not in path
This commit is contained in:
		@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user