summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-04-11 13:12:02 +0200
committerdimitri staessens <[email protected]>2017-04-11 13:12:02 +0200
commitce4cb41794e853e80bd4924ab383ef0424c50e3e (patch)
tree4d5b58210a04746a1bce48983817417fab04e2bb /src/irmd
parentc020c3b8a81c44e6a67313e502deb6c000d1b577 (diff)
downloadouroboros-ce4cb41794e853e80bd4924ab383ef0424c50e3e.tar.gz
ouroboros-ce4cb41794e853e80bd4924ab383ef0424c50e3e.zip
irmd: Fix mixed declaration
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/main.c4
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);