mirror of
				https://github.com/rofl0r/proxychains-ng.git
				synced 2025-11-04 09:06:05 +00:00 
			
		
		
		
	bail out when no proxy was configured
This commit is contained in:
		@@ -291,6 +291,10 @@ static void get_chain_data(proxy_data * pd, unsigned int *proxy_count, chain_typ
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	fclose(file);
 | 
			
		||||
	if(!count) {
 | 
			
		||||
		fprintf(stderr, "error: no valid proxy found in config\n");
 | 
			
		||||
		exit(1);
 | 
			
		||||
	}
 | 
			
		||||
	*proxy_count = count;
 | 
			
		||||
	proxychains_got_chain_data = 1;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user