diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index 9536ee84d89b8db50c758881c1ab2ec90791d42f..23d5619519a4c09b3b1327409e2836d779b88b93 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";