mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
signals: fix comparison flaw
commit 9a689fb8f0a6b1675a4e819f4837bf2e0269832f fixed SIGINT blocking but introduced a comparision flaw to sigint_restore(). Related: rhbz1440766
This commit is contained in:
parent
9a689fb8f0
commit
a14a8cef2f
@ -98,7 +98,7 @@ void sigint_restore(void)
|
||||
return;
|
||||
|
||||
if (!_handler_installed ||
|
||||
--_handler_installed > MAX_SIGINTS)
|
||||
--_handler_installed >= MAX_SIGINTS)
|
||||
return;
|
||||
|
||||
/* Nesting count went below MAX_SIGINTS. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user