diff options
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c index d1a8f1a..e130f0b 100644 --- a/src/database.c +++ b/src/database.c @@ -1359,6 +1359,7 @@ int apk_db_open(struct apk_database *db, struct apk_db_options *dbopts) int r, fd, write_arch = FALSE; memset(db, 0, sizeof(*db)); + db->progress_fd = dbopts->progress_fd; if (apk_flags & APK_SIMULATE) { dbopts->open_flags &= ~(APK_OPENF_CREATE | APK_OPENF_WRITE); dbopts->open_flags |= APK_OPENF_READ; |