horsicq / DIE-engine

DIE engine
MIT License
2.4k stars 331 forks source link

diec status code is 0 even on error #68

Closed sy6sy2 closed 1 year ago

sy6sy2 commented 2 years ago

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.

horsicq commented 2 years ago

Thanks for the idea. I will take a look.

horsicq commented 2 years ago

Ok. It will be in the next version.

sy6sy2 commented 1 year ago

Tested on version 3.08. Fixed. thanks!