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

Merge branch 'wip/smcv/locales-pileup' into 'master'

adverb: Don't "pile up" errors if we cannot exec generate-locales

See merge request steam/steam-runtime-tools!148
parents 55ac649a 5c5711d4
No related branches found
No related tags found
1 merge request!148adverb: Don't "pile up" errors if we cannot exec generate-locales
Pipeline #4711 passed
......@@ -412,7 +412,7 @@ generate_locales (gchar **locpath_out,
&wait_status,
error);
if (pthread_sigmask (SIG_SETMASK, &old_mask, NULL) != 0)
if (pthread_sigmask (SIG_SETMASK, &old_mask, NULL) != 0 && ret)
return glnx_throw_errno_prefix (error, "pthread_sigmask");
if (!ret)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment