summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/secondary.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-02-03 10:37:44 +0000
committerpjd <pjd@FreeBSD.org>2011-02-03 10:37:44 +0000
commitc7493a8a8581e0ac1368ee3781fd6d716baba105 (patch)
treea09b71e112776409a762687068d2d06332daa909 /sbin/hastd/secondary.c
parent11926ca84d4e893ce66f67b945840ccb9540a3cb (diff)
downloadFreeBSD-src-c7493a8a8581e0ac1368ee3781fd6d716baba105.zip
FreeBSD-src-c7493a8a8581e0ac1368ee3781fd6d716baba105.tar.gz
Let the caller log info about successful privilege drop.
We don't want to log this in hastctl. MFC after: 1 week
Diffstat (limited to 'sbin/hastd/secondary.c')
-rw-r--r--sbin/hastd/secondary.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/hastd/secondary.c b/sbin/hastd/secondary.c
index b19bb95..12a68de 100644
--- a/sbin/hastd/secondary.c
+++ b/sbin/hastd/secondary.c
@@ -414,6 +414,7 @@ hastd_secondary(struct hast_resource *res, struct nv *nvin)
if (drop_privs() != 0)
exit(EX_CONFIG);
+ pjdlog_info("Privileges successfully dropped.");
/*
* Create the control thread before sending any event to the parent,
OpenPOWER on IntegriCloud