parent
							
								
									3e5dbb2433
								
							
						
					
					
						commit
						ad716378dc
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -94,11 +94,13 @@ static void query(std::pair<FdSink, FdSource> & pipes)
 | 
			
		|||
int main(int argc, char * * argv)
 | 
			
		||||
{
 | 
			
		||||
    return handleExceptions(argv[0], [&]() {
 | 
			
		||||
        initNix();
 | 
			
		||||
 | 
			
		||||
        if (argc < 2)
 | 
			
		||||
            throw UsageError("download-via-ssh requires an argument");
 | 
			
		||||
 | 
			
		||||
        initNix();
 | 
			
		||||
 | 
			
		||||
        settings.update();
 | 
			
		||||
 | 
			
		||||
        if (settings.sshSubstituterHosts.empty())
 | 
			
		||||
            return;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue