Commit 429d279d authored by Baptiste Daroussin's avatar Baptiste Daroussin
Browse files

Directly return if failing to acquire a lock

parent 4c7603b4
......@@ -1715,7 +1715,7 @@ pkg_jobs_execute(struct pkg_jobs *j)
retcode = pkgdb_upgrade_lock(j->db, PKGDB_LOCK_ADVISORY,
PKGDB_LOCK_EXCLUSIVE, 0.5, 20);
if (retcode != EPKG_OK)
goto cleanup;
return (retcode);
p = NULL;
pkg_manifest_keys_new(&keys);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment