<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic can script ignore error 2? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-script-ignore-error-2/m-p/4693957#M612337</link>
    <description>Greetings, I am running hpux 11.23. I have a pre-backup script that moves all zip files in one directory, to a new directory. Sometimes there are file additions during the move period that then get compressed, that appears to cause the script to complete with error 2. The intended files appear to be moved successfully. The error causes Data Protector terminate without saving anything to tape. I would like the script to ignore error 2. any ideas? Thanks</description>
    <pubDate>Fri, 01 Oct 2010 14:48:01 GMT</pubDate>
    <dc:creator>Dave Chamberlin</dc:creator>
    <dc:date>2010-10-01T14:48:01Z</dc:date>
    <item>
      <title>can script ignore error 2?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-script-ignore-error-2/m-p/4693957#M612337</link>
      <description>Greetings, I am running hpux 11.23. I have a pre-backup script that moves all zip files in one directory, to a new directory. Sometimes there are file additions during the move period that then get compressed, that appears to cause the script to complete with error 2. The intended files appear to be moved successfully. The error causes Data Protector terminate without saving anything to tape. I would like the script to ignore error 2. any ideas? Thanks</description>
      <pubDate>Fri, 01 Oct 2010 14:48:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-script-ignore-error-2/m-p/4693957#M612337</guid>
      <dc:creator>Dave Chamberlin</dc:creator>
      <dc:date>2010-10-01T14:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: can script ignore error 2?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-script-ignore-error-2/m-p/4693958#M612338</link>
      <description>&lt;!--!*#--&gt;Which script is getting error 2, yours?&lt;BR /&gt;&lt;BR /&gt;You can either always exit with 0, or if the current status is 2, then reset it to 0.&lt;BR /&gt;status=$?&lt;BR /&gt;if [ $status -eq 2 ]; then&lt;BR /&gt;   status=0;&lt;BR /&gt;fi&lt;BR /&gt;exit $status</description>
      <pubDate>Fri, 01 Oct 2010 15:33:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-script-ignore-error-2/m-p/4693958#M612338</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-10-01T15:33:47Z</dc:date>
    </item>
  </channel>
</rss>

