On Wed, 30 Jan 2019 16:46:31 +0000 Eric Burke via opennhrp-devel <opennhrp-devel@lists.sourceforge.net> wrote:
> Is there any documentation anywhere that would explained the meaning > of any exit status codes for the peer script? I have seen 'exit > status 2' and have looked at the man pages, online documentation etc > but I cannot find this anywhere. > > Jan 27 14:35:05 daemon.err 00E0C8133D7F opennhrp[5002]: [10.92.64.1] > Peer up script failed: exitstatus 2 The code printing that is at: https://sourceforge.net/p/opennhrp/code/ci/master/tree/nhrp/nhrp_peer.c#l326 But basically it means the script exited with the given return code. So what the code really means is dependent on what kind of script you are using. I am not sure if this can happen with the default script since most error cases have "|| exit 1". I suspect you have custom script, and one of the script commands is failing with error code 2. Maybe changing "exitstatus" to "return code" or something might be more understandable? Hope this explains the issue. Timo _______________________________________________ opennhrp-devel mailing list opennhrp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opennhrp-devel