From 1aa0503401d41fec48d4d4e30d8bbcbd847ff807 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 8 Jan 2013 14:21:23 +0100 Subject: Use the new directory_create_or_exist_strict() function. Reviewed-by: Andrew Bartlett --- source4/ntp_signd/ntp_signd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/ntp_signd') diff --git a/source4/ntp_signd/ntp_signd.c b/source4/ntp_signd/ntp_signd.c index 0c3899fc55..d1d8483ad7 100644 --- a/source4/ntp_signd/ntp_signd.c +++ b/source4/ntp_signd/ntp_signd.c @@ -498,7 +498,7 @@ static void ntp_signd_task_init(struct task_server *task) const char *address; - if (!directory_create_or_exist(lpcfg_ntp_signd_socket_directory(task->lp_ctx), geteuid(), 0750)) { + if (!directory_create_or_exist_strict(lpcfg_ntp_signd_socket_directory(task->lp_ctx), geteuid(), 0750)) { char *error = talloc_asprintf(task, "Cannot create NTP signd pipe directory: %s", lpcfg_ntp_signd_socket_directory(task->lp_ctx)); task_server_terminate(task, -- cgit