diff --git a/arpspoof/rootfs/etc/cont-init.d/99-run.sh b/arpspoof/rootfs/etc/cont-init.d/99-run.sh index caef78486..895d30aa2 100644 --- a/arpspoof/rootfs/etc/cont-init.d/99-run.sh +++ b/arpspoof/rootfs/etc/cont-init.d/99-run.sh @@ -2,6 +2,7 @@ # Autodefine if not defined if [ -n "$INTERFACE_NAME" ]; then + # shellcheck disable=SC2155 export INTERFACE_NAME="$(ip route get 8.8.8.8 | sed -nr 's/.*dev ([^\ ]+).*/\1/p')" bashio::log.blue "Autodetection : INTERFACE_NAME=$INTERFACE_NAME" fi