From 7df62ed7fba17b8e134ed836cfdb51923dd9cccd Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 16 Sep 2013 17:30:42 +0000 Subject: [PATCH] Lamdaemon: do not show message if home directory to delete was not found (154) --- lam/HISTORY | 1 + lam/lib/lamdaemon.pl | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lam/HISTORY b/lam/HISTORY index 7c5bd00f..c18a030b 100644 --- a/lam/HISTORY +++ b/lam/HISTORY @@ -13,6 +13,7 @@ - fixed bugs: -> Custom fields: auto-adding object classes via profile editor fixed -> PHP 5.5 compatibility + -> Lamdaemon: do not show message if home directory to delete was not found (154) 18.06.2013 4.2.1 diff --git a/lam/lib/lamdaemon.pl b/lam/lib/lamdaemon.pl index 7cd4429a..2c4e26f0 100755 --- a/lam/lib/lamdaemon.pl +++ b/lam/lib/lamdaemon.pl @@ -267,7 +267,8 @@ sub removeHomedir { } } else { - $return = "INFO,Lamdaemon ($hostname),The directory which should be deleted was not found (skipped)."; + $return = "Ok"; + logMessage(LOG_INFO, "The directory " . $vals[3] . " which should be deleted was not found (skipped)."); } ($<, $>) = ($>, $<); # Give up root previleges }