I'm using ImageMagick 6.5.7-8 2009-11-26 Q16
I execute this command:
$ convert -list format
$ echo $?
The second command prints "1". I was expecting "0".
convert seems to exit with 1 when you enter incorrect arguments. It exits with 0 for all successful executions. The above is one exception which I noticed.
Rafal
rrafal@gmail.com
convert -list format exit code 1
Re: convert -list format exit code 1
We tried your command sequence with ImageMagick 6.6.5-5, the current release, and it returns 0 as expected.