nix-copy-closure: Show a proper error message if no host name is given
This commit is contained in:
parent
e6c44d166a
commit
c51b6a893c
|
@ -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…
Reference in a new issue