diff options
author | dimitri staessens <[email protected]> | 2017-04-11 11:16:42 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-04-11 11:16:42 +0000 |
commit | 4f2c2a52fbc0d7fcf43f791ffbac4e7c2cbd5c89 (patch) | |
tree | 4d5b58210a04746a1bce48983817417fab04e2bb | |
parent | c020c3b8a81c44e6a67313e502deb6c000d1b577 (diff) | |
parent | ce4cb41794e853e80bd4924ab383ef0424c50e3e (diff) | |
download | ouroboros-4f2c2a52fbc0d7fcf43f791ffbac4e7c2cbd5c89.tar.gz ouroboros-4f2c2a52fbc0d7fcf43f791ffbac4e7c2cbd5c89.zip |
Merged in dstaesse/ouroboros/be-irmd (pull request #476)
irmd: Fix mixed declaration
-rw-r--r-- | src/irmd/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index 5e5039b1..23acfcee 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -2131,14 +2131,14 @@ int main(int argc, { struct sigaction sig_act; sigset_t sigset; + bool use_stdout = false; + sigemptyset(&sigset); sigaddset(&sigset, SIGINT); sigaddset(&sigset, SIGQUIT); sigaddset(&sigset, SIGHUP); sigaddset(&sigset, SIGPIPE); - bool use_stdout = false; - if (geteuid() != 0) { log_err("IPC Resource Manager must be run as root."); exit(EXIT_FAILURE); |