diff options
Diffstat (limited to 'lib/tdb')
-rw-r--r-- | lib/tdb/common/mutex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tdb/common/mutex.c b/lib/tdb/common/mutex.c index bdc4c28cb6..12f89d3b3d 100644 --- a/lib/tdb/common/mutex.c +++ b/lib/tdb/common/mutex.c @@ -814,17 +814,17 @@ _PUBLIC_ bool tdb_runtime_check_for_robust_mutexes(void) ret = pthread_mutex_lock(m); nwritten = write(pipe_up[1], &ret, sizeof(ret)); if (nwritten != sizeof(ret)) { - exit(1); + _exit(1); } if (ret != 0) { - exit(1); + _exit(1); } nread = read(pipe_down[0], &c, 1); if (nread != 1) { - exit(1); + _exit(1); } /* leave locked */ - exit(0); + _exit(0); } if (tdb_robust_mutex_pid == -1) { goto cleanup_sig_child; |