Page 1 of 1

Posted: 2006-02-16T19:26:44-07:00
by anthony
Convert should return an exit of 0 whcih in UNIX terms means success
when no error occured.

It should only return a exit of 1 for major errors.

For example a -crop of an image that missed the image will report that it missed as a warning, but this is NOT an error, so convert should still return a
exit of 0.

ASIDE: You command should not be using

Code: Select all

&& echo $? || echo $?
If you want it to always report the error status use

Code: Select all

; echo $?
Of course for Csh or Tcsh that should be

Code: Select all

; echo $status
.
:-)