The EX_OK exit code (value 0) indicates that sendmail did its job and there were no errors. Note that this should be the exit value of all the programs that sendmail runs when they succeed without errors. To illustrate , the following C-language code returns a random value: main( ) { need a " return 0 " or exit(0) here } |