mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	fixed the issue when -l is specified as '/'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -4900,6 +4900,10 @@ sub chk_resolv_conf | ||||
|    			my $install_dir = xCAT::Utils->getInstallDir(); | ||||
|             if ($::opt_l) | ||||
|             { | ||||
|                 if ($::opt_l =~ /\/$/) | ||||
|                 { | ||||
|                     $::opt_l =~ s/\/$//; #remove tailing slash if needed | ||||
|                 } | ||||
|                 $loc = "$::opt_l/resolv_conf/$resolv_conf_name"; | ||||
|             } | ||||
|             else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user