mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-31 03:03:52 +01:00 
			
		
		
		
	
							parent
							
								
									2164ff22b9
								
							
						
					
					
						commit
						c4941bb3c5
					
				| @ -479,6 +479,11 @@ int Application::Run(void) | |||||||
| #ifndef _WIN32 | #ifndef _WIN32 | ||||||
| 		String exePath = GetExePath(m_ArgV[0]); | 		String exePath = GetExePath(m_ArgV[0]); | ||||||
| 
 | 
 | ||||||
|  | 		int fdcount = getdtablesize(); | ||||||
|  | 
 | ||||||
|  | 		for (int i = 3; i < fdcount; i++) | ||||||
|  | 			(void) close(i); | ||||||
|  | 
 | ||||||
| 		(void) execv(exePath.CStr(), m_ArgV); | 		(void) execv(exePath.CStr(), m_ArgV); | ||||||
| #else /* _WIN32 */ | #else /* _WIN32 */ | ||||||
| 		STARTUPINFO si; | 		STARTUPINFO si; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user