A quick grovel through scp.c shows me that main() ends with this : } exit(errs != 0); } Am I correct in assuming that this means that if there's no problems (ie: the scp executes completely, with no errors) that scp's return code is 0? I need to know if a copy has been successful in a perl script, and the easiest way to check is to look at the code. The return code isn't documented in the man page for scp.1 thanks Carl
Seemingly Similar Threads
- scp not found with solaris 8/2.1.0p2
- connection attempt timeout - possible feature?
- further problems Re: scp not found with solaris 8/2.1.0p2
- Patch: OpenSSH 2.1.0 under Solaris 8, Solaris 7 and other systems , too
- behaviour of ssh/scp over flakey links - timeout/retry?