GnuPG exit codes
Kurt Fitzner
kfitzner at excelcia.org
Thu Dec 1 15:21:01 CET 2005
I have done some looking at the GnuPG source and it seems to me that
GnuPG only ever exits with a code of 0, 1, or 2. I just need to confirm
that this is the case and what the exit codes mean. My interpretation is:
0 = success
1 = processing error - the command line was a correct command, but GnuPG
ran into some sort of problems while trying to complete the task
2 = command error - GnuPG could not start because it could not correctly
interpret the command line
Is this correct?
Kurt.
More information about the Gnupg-devel
mailing list