summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c
index 6160b79..11e7867 100644
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
@@ -153,7 +153,7 @@ opkg_update_cmd(int argc, char **argv)
src = (pkg_src_t *)iter->data;
- if (src->extra_data && strcmp(src->extra_data, "__dummy__ "))
+ if (src->extra_data && !strcmp(src->extra_data, "__dummy__ "))
continue;
if (src->extra_data) /* debian style? */