Re: Exit status geting set on zip -uf on AIX when nothing to do
Dan Nelson <dnelson-FUK3p6tQds9Wk0Htik3J/[email protected]> Fri, 6 Feb 2004 12:39:34 -0600
| Newsgroups | gmane.comp.archivers.info-zip |
|---|---|
| Message-ID | <[email protected]> |
In the last episode (Feb 06), Wayne Johnson said:
> I have a build process that runs on several systems (Windows, AIX and
> Solaris). In this process, we run make that has a zip -uj command.
>
> Yesterday, out of the blue, this process started returning and error
> code of 12 when there was nothing to update. There were no error
> messages, just an exit status of 12. If I gave it something to
> update, it worked fine. It also continues to return a normal value
> (0) on the other platforms when nothing is done.
Hm. I'd say there's a bug in zip on the other platforms, since the zip
manpage reads:
DIAGNOSTICS
The exit status (or error level) approximates the exit
codes defined by PKWARE and takes on the following values,
except under VMS:
...
12 zip has nothing to do
--
Dan Nelson
[email protected]