projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38bb0b6
)
Avoid exiting too early due to nested rpmdbCheckSignals()
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 18 Dec 2007 19:33:40 +0000
(21:33 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 18 Dec 2007 19:33:40 +0000
(21:33 +0200)
rpmdb/rpmdb.c
patch
|
blob
|
history
diff --git
a/rpmdb/rpmdb.c
b/rpmdb/rpmdb.c
index
3f8ad49
..
5122d71
100644
(file)
--- 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);