mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 13:22:36 +00:00 
			
		
		
		
	fixed bug 3904, if the environements dir doesn't exsit, create it.
This commit is contained in:
		@@ -179,6 +179,10 @@ sub process_request
 | 
			
		||||
            $callback->($rsp);
 | 
			
		||||
            next;
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        unless ( -d "$repos/environments") {
 | 
			
		||||
            mkdir("$repos/environments", 0777);
 | 
			
		||||
        }
 | 
			
		||||
         
 | 
			
		||||
        my $tmperr = cloudvars(
 | 
			
		||||
            $tmplfile,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user