mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 20:05:07 -05:00
Fix an outdated comment
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
6303d4920c
commit
1a8c792e8f
@ -90,10 +90,7 @@ int SYMEXPORT alpm_db_unregister_all(void)
|
||||
/* Do not unregister a database if a transaction is on-going */
|
||||
ASSERT(handle->trans == NULL, RET_ERR(PM_ERR_TRANS_NOT_NULL, -1));
|
||||
|
||||
/* since the local DB is registered in alpm_initialize(), we'll be
|
||||
* symmetrical and let the cleanup occur in alpm_release() */
|
||||
|
||||
/* and also sync ones */
|
||||
/* unregister all sync dbs */
|
||||
for(i = handle->dbs_sync; i; i = i->next) {
|
||||
db = i->data;
|
||||
db->ops->unregister(db);
|
||||
|
Loading…
Reference in New Issue
Block a user