index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-29 16:53:16 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-29 16:53:16 +0000 |
commit | 1042f1e7ceb0f1df79cc981656eef5fb4dbc4009 (patch) | |
tree | 8b7a162802ab099294ec73529ab8400d4a2d8b0d /lib | |
parent | f8933f85544ed7fe0bce216ff67b2b8f1b37d1ee (diff) |
-rw-r--r-- | lib/libalpm/alpm.c | 10 |
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index 09f8f707..c3f55df1 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -93,16 +93,6 @@ int alpm_release() ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1)); - /* unlock db */ - if(handle->lckfd != -1) { - close(handle->lckfd); - handle->lckfd = -1; - } - if(_alpm_lckrm(PM_LOCK) == -1) { - _alpm_log(PM_LOG_WARNING, "could not remove lock file %s", PM_LOCK); - alpm_logaction("warning: could not remove lock file %s", PM_LOCK); - } - /* close local database */ if(handle->db_local) { db_close(handle->db_local); |