title: sftp avoid exit when file is not found
body: <p>I have this script:</p>
  
  <pre><code>filePattern='sor.log*'
  filePattern2='sor.SOR.log*'
  myLocation=/opt/tradertools/omer
  clientLocation=/opt/tradertools/omer/sor/from
  clientName=vmonitorlmpa
  clientUser=root
  clientPass=triltest
  
  export SSHPASS=$clientPass
  
  sshpass -e sftp -oStrictHostKeyChecking=no -oBatchMode=no -b - $clientUser@$clientName &lt;&lt; !
  
      get $clientLocation/$filePattern2 $myLocation
      get $clientLocation/$filePattern $myLocation
  
     bye
  !
  </code></pre>
  
  <p>But if <code>filepattern2</code> isn't found, it will exit. How do I avoid using two SFTP connections?</p>