DIE-engine icon indicating copy to clipboard operation
DIE-engine copied to clipboard

diec status code is 0 even on error

Open sy6sy2 opened this issue 2 years ago • 2 comments

Just noticed that if you run diec -j ./foo and foo file does not exist then you obtain Cannot find: ./foo but the exit code of diec is 0.

I expect the status code to be other than 0 because we have an error here.

sy6sy2 avatar Aug 31 '22 07:08 sy6sy2

Thanks for the idea. I will take a look.

horsicq avatar Aug 31 '22 07:08 horsicq

Ok. It will be in the next version.

horsicq avatar Aug 31 '22 09:08 horsicq

Tested on version 3.08. Fixed. thanks!

sy6sy2 avatar Jul 24 '23 13:07 sy6sy2