Exit codes of the command line tool dropdmg

Hi,

i am using the command line tool dropdmg in an automated process for dmg creation. To check the result i want to check the exit code after excecution.

It seems that no exit code is returned when the operation succeeded and 1 when there was an error.
Are there other exit codes dropdmg could return?

Regards,

Matthias

Sorry, i meant 0 is returned when the operation succeeded.

Those are the only ones. Different errors will result in different text sent to stderr.