Code

Print exit code for LDAP config hook
authorlhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 8 Feb 2010 14:31:10 +0000 (14:31 +0000)
committerlhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 8 Feb 2010 14:31:10 +0000 (14:31 +0000)
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

index e640c87a756f2d82e082519470f167ea95c4e7b0..67632b5aa04a0ae7d7517f1da0c5674667c674bc 100644 (file)
@@ -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;