X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=libopkg%2Fpkg_hash.c;h=3259eef6c39a116fb9f393b2c46096592f86348f;hp=e02e1f25ce4db9d2281341b54fd47902a61242b3;hb=7ea0060e3b5c0f4d261cf4291bcd160ec94164c2;hpb=65744fa1522751906c5cfb93e67137fc98103e91 diff --git a/libopkg/pkg_hash.c b/libopkg/pkg_hash.c index e02e1f2..3259eef 100644 --- a/libopkg/pkg_hash.c +++ b/libopkg/pkg_hash.c @@ -256,7 +256,7 @@ pkg_hash_fetch_best_installation_candidate(opkg_conf_t *conf, { opkg_message (conf, OPKG_ERROR, "Packages were found, but none compatible with the architectures configured\n"); if (err) - *err = OPKG_PKG_HAS_NO_AVAILABLE_ARCH; + *err = -1; } } }