mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
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…
Reference in a new issue