diff --git a/trunk/gosa-si/client/events/corefunctions.pm b/trunk/gosa-si/client/events/corefunctions.pm
index e640c87a756f2d82e082519470f167ea95c4e7b0..67632b5aa04a0ae7d7517f1da0c5674667c674bc 100644 (file)
# 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;