[Bug 2105] ssh-copy-id can "rm -f *" if mktemp fails

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu May 16 11:06:06 EST 2013


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

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2270|ok?(dtucker at zip.com.au)     |ok+
              Flags|                            |

--- Comment #4 from Darren Tucker <dtucker at zip.com.au> ---
Comment on attachment 2270
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2270
Fix usage message

>+  if test $? -ne 0 -o "x$L_TMP_ID_FILE" = "x" ; then

I think there are some shells that don't do -o.  We avoid it in
configure and instead use something like

test $? -ne 0 || test "x$L_TMP_ID_FILE" = "x"

other than that, ok

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


More information about the openssh-bugs mailing list