in reply to Net::OpenSSH failing in unexpected way

Clarification please:
" only when /directory is empty." means:
the file system directory contains no files
or
the variable "directory" supplies no substitution, = "rm -r //*" command

It is always better to have seen your target for yourself, rather than depend upon someone else's description.

  • Comment on Re: Net::OpenSSH failing in unexpected way