index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2016-02-22 14:07:57 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-23 12:41:36 +1000 |
commit | a724235b6127f9655708614d1e44f9b5c661a506 (patch) | |
tree | 6b4ef62ae28bc340db7ca5b2d628a60e3a15363a /lib/libalpm/handle.c | |
parent | 1d6583a58da0904fb7feafd4a666391087955a7b (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 2 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index e4bde1a7..e9439a0b 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -141,7 +141,7 @@ int SYMEXPORT alpm_unlock(alpm_handle_t *handle) handle->lockfd = -1; if(unlink(handle->lockfile) != 0) { - RET_ERR(handle, ALPM_ERR_SYSTEM, -1); + RET_ERR_ASYNC_SAFE(handle, ALPM_ERR_SYSTEM, -1); } else { return 0; } |