mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
(fix) rename sig handler
This commit is contained in:
@@ -123,7 +123,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <openssl/x509.h>
|
||||
#endif
|
||||
|
||||
void handle_terminate(int signum)
|
||||
void handle_eas_terminate(int signum)
|
||||
{
|
||||
NSLog(@"Forcing termination of EAS loop.");
|
||||
shouldTerminate = YES;
|
||||
@@ -149,7 +149,7 @@ void handle_terminate(int signum)
|
||||
syncRequest = nil;
|
||||
|
||||
shouldTerminate = NO;
|
||||
signal(SIGTERM, handle_terminate);
|
||||
signal(SIGTERM, handle_eas_terminate);
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user