diff options
-rwxr-xr-x | scripts/nix-copy-closure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index 9536ee84d..23d561951 100755 --- a/scripts/nix-copy-closure.in +++ b/scripts/nix-copy-closure.in @@ -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"; |