Группа :: Система/Серверы
Пакет: openldap
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: openldap-2.1.21-alt-pid.patch
--- openldap-2.1.21/servers/slapd/main.c.old 2003-08-04 14:33:50 +0300
+++ openldap-2.1.21/servers/slapd/main.c 2003-08-04 14:33:28 +0300
@@ -608,10 +608,10 @@
ldap_pvt_tls_destroy();
#endif
- if ( slapd_pid_file != NULL ) {
+ if ( !check_config && (slapd_pid_file != NULL) ) {
unlink( slapd_pid_file );
}
- if ( slapd_args_file != NULL ) {
+ if ( !check_config && (slapd_args_file != NULL) ) {
unlink( slapd_args_file );
}