mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
Don't allow any other jobs if a -q job is active
This commit is contained in:
parent
00bf4aef98
commit
42e56b95d5
1 changed files with 2 additions and 1 deletions
|
|
@ -409,7 +409,8 @@ alock_open ( alock_info_t * info,
|
|||
++live_count;
|
||||
|
||||
} else if (res == ALOCK_UNIQUE
|
||||
&& locktype == ALOCK_UNIQUE) {
|
||||
&& (( locktype & ALOCK_SMASK ) == ALOCK_UNIQUE
|
||||
|| nosave )) {
|
||||
close (info->al_fd);
|
||||
ber_memfree (slot_data.al_appname);
|
||||
return ALOCK_BUSY;
|
||||
|
|
|
|||
Loading…
Reference in a new issue