From: Arran Cudbard-Bell Date: Sat, 10 Dec 2022 00:26:13 +0000 (-0600) Subject: Return a more useful exit status X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788d3349778277ae5a4a4adaec3c9afe1aef4f96;p=thirdparty%2Ffreeradius-server.git Return a more useful exit status --- diff --git a/scripts/jlibtool.c b/scripts/jlibtool.c index 4870466cbd4..faf5ca3b81e 100644 --- a/scripts/jlibtool.c +++ b/scripts/jlibtool.c @@ -961,7 +961,8 @@ static int external_spawn(command_t *cmd, __attribute__((unused)) char const *fi kill(spawn_pid, SIGKILL); waitpid(spawn_pid, &status, 0); /* Cleanup child state */ - timeout = false; /* reset */ + timeout = false; /* Reset */ + return 128 + SIGALRM; /* Allow the caller to figure out what happened */ } /*