summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index 883d943a..6e855793 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -50,6 +50,7 @@ pmhandle_t *handle_new()
}
memset(handle, 0, sizeof(pmhandle_t));
+ handle->lckfd = -1;
/* see if we're root or not */
handle->uid = geteuid();