summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-02-19 02:38:58 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-02-19 02:38:58 +0100
commit6804f315464b592eeece8c8837b21c9cd1db074d (patch)
tree9ff53399622bdefe247410246d4b8eb06215bf32
parent112197f6ab8ec392aecfccd10af5547633fe7482 (diff)
downloadbiboumi-6804f315464b592eeece8c8837b21c9cd1db074d.tar.gz
biboumi-6804f315464b592eeece8c8837b21c9cd1db074d.tar.bz2
biboumi-6804f315464b592eeece8c8837b21c9cd1db074d.tar.xz
biboumi-6804f315464b592eeece8c8837b21c9cd1db074d.zip
Set sigaction.sa_flags to 0
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b27fd8b..43dfe4b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -89,6 +89,7 @@ int main(int ac, char** av)
struct sigaction on_sigusr;
on_sigusr.sa_sigaction = &sigusr_handler;
on_sigusr.sa_mask = mask;
+ on_sigusr.sa_flags = 0;
sigaction(SIGUSR1, &on_sigusr, nullptr);
sigaction(SIGUSR2, &on_sigusr, nullptr);