aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-06-29 15:23:12 +0200
committerAndreas Schneider <asn@samba.org>2018-08-28 11:14:43 +0200
commitcf805f9631847aa8be78e78112f2c1c23b3adbaa (patch)
tree5b0ce3215d65c566eff7cb9c34c058ba732aaf92
parent21979a32620269c4e31c5c645087b8bb632b343d (diff)
downloadpam_wrapper-cf805f9631847aa8be78e78112f2c1c23b3adbaa.tar.gz
pam_wrapper-cf805f9631847aa8be78e78112f2c1c23b3adbaa.tar.xz
pam_wrapper-cf805f9631847aa8be78e78112f2c1c23b3adbaa.zip
pwrap: Don't clean the stale dir twice
This is already done above. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r--src/pam_wrapper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pam_wrapper.c b/src/pam_wrapper.c
index 8064954..1a2562c 100644
--- a/src/pam_wrapper.c
+++ b/src/pam_wrapper.c
@@ -896,8 +896,6 @@ static void pwrap_init(void)
PWRAP_LOG(PWRAP_LOG_DEBUG, "Initialize pam_wrapper");
- pwrap_clean_stale_dirs(tmp_config_dir);
-
pwrap.config_dir = strdup(tmp_config_dir);
if (pwrap.config_dir == NULL) {
PWRAP_LOG(PWRAP_LOG_ERROR,