Menu

#13 Change the exit status

open
nobody
None
5
2007-10-03
2007-10-03
thenktor
No

Hi
I'm the developer of burnCDDA (http://freshmeat.net/projects/burncdda). My
tool currently uses mp3_check to check mp3 files but it would be great if can support mp3val, too.
Currently I simply test the exit status of mp3_check. If it is not 0, I run my error function:
"mp3_check corrupted_file.mp3 || error_function"

But mp3val always gives an exit status = 0, even if the file is damaged.
"mp3val corrupted_file.mp3 || error_function" would not run my error function.

Could you please change your exit status?

Greetings
Thorsten

Discussion


Log in to post a comment.

MongoDB Logo MongoDB