summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
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);