nix-copy-closure: Show a proper error message if no host name is given
This commit is contained in:
		
							parent
							
								
									e6c44d166a
								
							
						
					
					
						commit
						c51b6a893c
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -78,6 +78,8 @@ while (@ARGV) { | |||
|     } | ||||
| } | ||||
| 
 | ||||
| die "$0: you did not specify a host name\n" unless defined $sshHost; | ||||
| 
 | ||||
| 
 | ||||
| openSSHConnection $sshHost or die "$0: unable to start SSH\n"; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue