On 05/12/17 15:00, Gaudenz Steinlin wrote: > > Hi > > Sorry for the incomplete bug report. I wanted to resume a reported I did > not finish with reportbug, but it decided to send the backup copy as is > instead of letting me edit it before sending. > > Looking at the code the wrong error code results from the return code of > the parse_packet function which is passed through via > send_release_packet to main and used as exit code there. Returning -1 > from main results in an exit code of 255 in the shell. > > Gaudenz >
Are sure that this isn't a real error? From a quick look, successfully doing the release results in a reply with a STATUS_CODE structure containing a SUCCESS status value, which is zero. This is returned via parse_packet and send_release_packet to main, and results in a zero return code. A -1 return from parse_packet implies no STATUS_CODE or IA_NA in the reply, which is an error. Cheers, Simon.
signature.asc
Description: OpenPGP digital signature