summaryrefslogtreecommitdiffstats
path: root/sbin/hastctl/hastctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/hastctl/hastctl.c')
-rw-r--r--sbin/hastctl/hastctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastctl/hastctl.c b/sbin/hastctl/hastctl.c
index cf692ce..c4cd6a4 100644
--- a/sbin/hastctl/hastctl.c
+++ b/sbin/hastctl/hastctl.c
@@ -480,7 +480,7 @@ main(int argc, char *argv[])
cfg->hc_controladdr);
}
- if (drop_privs(true) != 0)
+ if (drop_privs(NULL) != 0)
exit(EX_CONFIG);
/* Send the command to the server... */
OpenPOWER on IntegriCloud