convert -list format exit code 1
Posted: 2010-11-05T12:30:50-07:00
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
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