summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/cache_mngr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache_mngr.c b/lib/cache_mngr.c
index f8a65e3..7fb1ed0 100644
--- a/lib/cache_mngr.c
+++ b/lib/cache_mngr.c
@@ -435,7 +435,7 @@ int nl_cache_mngr_data_ready(struct nl_cache_mngr *mngr)
}
nl_cb_put(cb);
- if (err < 0)
+ if (err < 0 && err != -NLE_AGAIN)
return err;
return nread;