From 594dd7d999c8103b012528963968e217c8747ea3 Mon Sep 17 00:00:00 2001 From: lhm-gosa Date: Mon, 8 Feb 2010 14:31:10 +0000 Subject: [PATCH] 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 --- trunk/gosa-si/client/events/corefunctions.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2