[Bug 369] Inconsistant exit status from scp

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Dec 18 20:34:06 EST 2002


emilsa at gcs.co.il changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
            Summary|Inconsistant exiit status   |Inconsistant exit status
                   |from scp                    |from scp
            Version|older versions              |3.5p1

------- Additional Comments From emilsa at gcs.co.il  2002-12-18 20:34 -------
Unfortunately this bug still exists in 3.5p1 and 3.4p1 versions.
I've checked it on Sun Solaris 2.6 and HP 11.00 platforms and on both has this
If the failure based on scp function itself like "file not found" i've got
correct (>0) exit status.
If the failure conection related like "Connection refused" or "bad hostname"
i've got exit status 0.
It denies using scp (and ssh in general) in scripts.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-unix-dev mailing list