Fix a typo
This commit is contained in:
parent
9750a38069
commit
889814a8cc
1 changed files with 5 additions and 5 deletions
10
utils.cpp
10
utils.cpp
|
@ -133,11 +133,11 @@ void ungrabXKeyboard()
|
|||
|
||||
void Process::setupChildProcess()
|
||||
{
|
||||
sigset_t userSiganls;
|
||||
sigemptyset(&userSiganls);
|
||||
sigaddset(&userSiganls, SIGUSR1);
|
||||
sigaddset(&userSiganls, SIGUSR2);
|
||||
pthread_sigmask(SIG_UNBLOCK, &userSiganls, nullptr);
|
||||
sigset_t userSignals;
|
||||
sigemptyset(&userSignals);
|
||||
sigaddset(&userSignals, SIGUSR1);
|
||||
sigaddset(&userSignals, SIGUSR2);
|
||||
pthread_sigmask(SIG_UNBLOCK, &userSignals, nullptr);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue