From 515a9f48fb1e459b64992503ade701992630fd70 Mon Sep 17 00:00:00 2001 From: Andreas Ziegler Date: Thu, 8 Sep 2016 02:18:18 +0200 Subject: [PATCH] batman-adv-legacy: ignore error when writing to mesh_iface (#146) --- net/batman-adv-legacy/files/lib/netifd/proto/batadv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/batman-adv-legacy/files/lib/netifd/proto/batadv.sh b/net/batman-adv-legacy/files/lib/netifd/proto/batadv.sh index 01f567f..42acc28 100644 --- a/net/batman-adv-legacy/files/lib/netifd/proto/batadv.sh +++ b/net/batman-adv-legacy/files/lib/netifd/proto/batadv.sh @@ -27,7 +27,7 @@ proto_batadv_teardown() { local config="$1" local iface="$2" - echo "none" > "/sys/class/net/$iface/batman_adv/mesh_iface" || true + (echo "none" > "/sys/class/net/$iface/batman_adv/mesh_iface") 2>/dev/null } add_protocol batadv