diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-04-11 13:12:02 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-04-11 13:12:02 +0200 |
commit | ce4cb41794e853e80bd4924ab383ef0424c50e3e (patch) | |
tree | 4d5b58210a04746a1bce48983817417fab04e2bb /src/irmd/main.c | |
parent | c020c3b8a81c44e6a67313e502deb6c000d1b577 (diff) | |
download | ouroboros-ce4cb41794e853e80bd4924ab383ef0424c50e3e.tar.gz ouroboros-ce4cb41794e853e80bd4924ab383ef0424c50e3e.zip |
irmd: Fix mixed declaration
Diffstat (limited to 'src/irmd/main.c')
-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); |