only finalize the register (rollback or not) when a register has really started
modified libpkg/pkg_add.c
@@ -171,7 +171,8 @@ pkg_add(struct pkgdb *db, const char *path, struct pkg **pkg_p)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|