[Bug 2806] New: bind: Address already in use: should return non-zero

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Dec 5 11:58:26 AEDT 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2806

            Bug ID: 2806
           Summary: bind: Address already in use: should return non-zero
           Product: Portable OpenSSH
           Version: 7.6p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jidanni at jidanni.org

This should return non-zero

$ ssh -f somesite.example.org -L 10143:somesite.example.org:143 -N ;
echo $?
bind: Address already in use
channel_setup_fwd_listener_tcpip: cannot listen to port: 10143
Could not request local forwarding.
0

else scripts cannot detect failure!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list