From: lhm-gosa Date: Mon, 8 Feb 2010 14:31:10 +0000 (+0000) Subject: Print exit code for LDAP config hook X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=594dd7d999c8103b012528963968e217c8747ea3;p=gosa.git Print exit code for LDAP config hook git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@15602 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-si/client/events/corefunctions.pm b/trunk/gosa-si/client/events/corefunctions.pm index e640c87a7..67632b5aa 100644 --- a/trunk/gosa-si/client/events/corefunctions.pm +++ b/trunk/gosa-si/client/events/corefunctions.pm @@ -452,7 +452,7 @@ sub new_ldap_config { # Allow custom scripts to be executed if (defined $ldap_config_exit_hook) { system($ldap_config_exit_hook); - daemon_log("executed hook $ldap_config_exit_hook", 5); + daemon_log("Hook $ldap_config_exit_hook returned with code ".($? >> 8), 5); } return;