diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-18 21:33:40 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-18 21:33:40 +0200 |
commit | 23b25e10c65216b6cb271e9ba43ad7bf8d53192e (patch) | |
tree | d2fa6b7b1a6391f8553ad7de16f388267e66bb75 /rpmdb | |
parent | 38bb0b6c9b355915a69db476974bea1503fce147 (diff) | |
download | librpm-tizen-23b25e10c65216b6cb271e9ba43ad7bf8d53192e.tar.gz librpm-tizen-23b25e10c65216b6cb271e9ba43ad7bf8d53192e.tar.bz2 librpm-tizen-23b25e10c65216b6cb271e9ba43ad7bf8d53192e.zip |
Avoid exiting too early due to nested rpmdbCheckSignals()
Diffstat (limited to 'rpmdb')
-rw-r--r-- | rpmdb/rpmdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdb/rpmdb.c b/rpmdb/rpmdb.c index 3f8ad4955..5122d714f 100644 --- a/rpmdb/rpmdb.c +++ b/rpmdb/rpmdb.c @@ -621,7 +621,7 @@ int rpmdbCheckTerminate(int terminate) sigset_t newMask, oldMask; static int terminating = 0; - if (terminating) return 1; + if (terminating) return 0; (void) sigfillset(&newMask); /* block all signals */ (void) sigprocmask(SIG_BLOCK, &newMask, &oldMask); |