mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-08 08:58:50 +03:00
cov: check error code from mutex init
This commit is contained in:
parent
d6ac039b65
commit
555d6d4e62
@ -2237,7 +2237,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
_init_thread_signals();
|
||||
|
||||
pthread_mutex_init(&_global_mutex, NULL);
|
||||
if (pthread_mutex_init(&_global_mutex, NULL))
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
if (!_systemd_activation && !_open_fifos(&fifos))
|
||||
exit(EXIT_FIFO_FAILURE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user