diff options
author | Andreas Schneider <asn@samba.org> | 2013-01-08 14:21:23 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-01-09 09:11:20 +0100 |
commit | 1aa0503401d41fec48d4d4e30d8bbcbd847ff807 (patch) | |
tree | 6bd90a1f53bb28aad3f00a7e99cb6ef8abc1723f /source4/lib/messaging | |
parent | 6039388fc1f3671bb60db06211814f7edfc62285 (diff) | |
download | samba-1aa0503401d41fec48d4d4e30d8bbcbd847ff807.tar.gz samba-1aa0503401d41fec48d4d4e30d8bbcbd847ff807.tar.bz2 samba-1aa0503401d41fec48d4d4e30d8bbcbd847ff807.zip |
Use the new directory_create_or_exist_strict() function.
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r-- | source4/lib/messaging/messaging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index 5966c29d5a..c37c91eb27 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -604,7 +604,7 @@ struct imessaging_context *imessaging_init(TALLOC_CTX *mem_ctx, msg->base_path = lpcfg_imessaging_path(msg, lp_ctx); - ok = directory_create_or_exist(msg->base_path, geteuid(), 0700); + ok = directory_create_or_exist_strict(msg->base_path, geteuid(), 0700); if (!ok) { talloc_free(msg); return NULL; |