If ssh fails, for instance because the user mistyped the hostname, ssh-copy-id carries on and tells them to try logging into the machine to check that everything's OK. It should check the exit code and itself exit immediately at that point. I'll attach a patch in a moment.
Created attachment 521 [details] make ssh-copy-id exit if ssh fails
Patch applied, thanks.
Mass change of RESOLVED bugs to CLOSED