[Bug 2117] New: Non-portable use of test == operator in ssh-copy-id

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jun 5 19:49:20 EST 2013


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

            Bug ID: 2117
           Summary: Non-portable use of test == operator in ssh-copy-id
           Product: Portable OpenSSH
           Version: 6.2p1
          Hardware: Other
               URL: http://bugs.debian.org/711162
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Miscellaneous
          Assignee: unassigned-bugs at mindrot.org
          Reporter: cjwatson at debian.org

In http://bugs.debian.org/711162, Andrey Rahmatullin reports a
non-portable use of test:

  if [ $# == 0 ] ; then

This should be =, not ==.

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


More information about the openssh-bugs mailing list