Wrong exit code?

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Wrong exit code?

Post by naoliv »

Hi!

From http://bugs.debian.org/524058
after imagemagick upgrade, display now returns always false.
e.g.:

zito@bobek:~$ display rose:
zito@bobek:~$ echo $?
1

display was exited using Ctrl-Q.
Shouldn't it return 0 instead 1?
ImageMagick version is 6.5.1-0

Thank you!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Wrong exit code?

Post by magick »

We can reproduce the problem you posted and will have a fix in ImageMagick 6.5.1-4 Beta by sometime tomorrow. Thanks.
Post Reply