summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c
index 678f219..cd636f1 100644
--- a/libopkg/opkg_conf.c
+++ b/libopkg/opkg_conf.c
@@ -344,7 +344,7 @@ opkg_conf_write_status_files(void)
dest = (pkg_dest_t *)iter->data;
dest->status_fp = fopen(dest->status_file_name, "w");
- if (dest->status_fp == NULL) {
+ if (dest->status_fp == NULL && errno != EROFS) {
opkg_perror(ERROR, "Can't open status file %s",
dest->status_file_name);
ret = -1;