Search found 2 matches

by spookylukey
2015-10-15T13:44:51-07:00
Forum: Bugs
Topic: 'convert' exit status is zero (success) when arguments are not understood
Replies: 2
Views: 1833

Re: 'convert' exit status is zero (success) when arguments are not understood

Forgot version numbers:
> convert -version
Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
Running on Linux Mint.
by spookylukey
2015-10-15T13:43:02-07:00
Forum: Bugs
Topic: 'convert' exit status is zero (success) when arguments are not understood
Replies: 2
Views: 1833

'convert' exit status is zero (success) when arguments are not understood

If you pass too few arguments to convert: convert rubbishrubbish it prints help, but exits with status code 0, indicating success. This is obviously really bad behaviour, especially for scripts which rely on error codes. So far I've only found this happening when you fail to pass enough arguments ...