Skip to content
Snippets Groups Projects
Commit 6a6841c4 authored by Simon McVittie's avatar Simon McVittie
Browse files

Merge branch 'wip/smcv/no-signal-127' into 'master'

utils: Don't consider exit status 255 to be signal 127

See merge request steam/steam-runtime-tools!91
parents 0c6fe333 5a37462d
No related branches found
No related tags found
1 merge request!91utils: Don't consider exit status 255 to be signal 127
Pipeline #2117 passed
......@@ -178,7 +178,7 @@ _srt_process_timeout_wait_status (int wait_status, int *exit_status, int *termin
{
*exit_status = WEXITSTATUS (wait_status);
if (*exit_status > 128)
if (*exit_status > 128 && *exit_status <= 128 + SIGRTMAX)
{
g_debug ("-> killed by signal %d", (*exit_status - 128));
*terminating_signal = (*exit_status - 128);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment