summaryrefslogtreecommitdiff
path: root/mesh/rpl.c
diff options
context:
space:
mode:
authorMichaƂ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>2022-02-03 15:38:00 +0100
committerBrian Gix <brian.gix@intel.com>2022-02-04 12:12:27 -0800
commit3f72b45150a50c99f344bbcfb4e19e360b85555f (patch)
treed0071abefc9d1179a3889d9549e80da64dffe105 /mesh/rpl.c
parent7083cad2fb42fbd9640ee55df4225d921a83e2d0 (diff)
downloadbluez-3f72b45150a50c99f344bbcfb4e19e360b85555f.tar.gz
mesh: Skip unneeded logs
Diffstat (limited to 'mesh/rpl.c')
-rw-r--r--mesh/rpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/rpl.c b/mesh/rpl.c
index 6bb3532b2..1213ee66e 100644
--- a/mesh/rpl.c
+++ b/mesh/rpl.c
@@ -80,7 +80,7 @@ bool rpl_put_entry(struct mesh_node *node, uint16_t src, uint32_t iv_index,
iv_index--;
snprintf(src_file, PATH_MAX, "%s%s/%8.8x/%4.4x", node_path, rpl_dir,
iv_index, src);
- if (remove(src_file) < 0)
+ if (remove(src_file) < 0 && errno != ENOENT)
l_error("Failed to remove(%d): %s", errno, src_file);
return result;