t/h/L/vif-common.sh: fix handle_iptable return value
authorHans van Kranenburg <hans@knorrie.org>
Thu, 26 Nov 2020 15:06:03 +0000 (16:06 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Fri, 8 Apr 2022 09:40:51 +0000 (10:40 +0100)
commitc8d1cfd935c10c5bd83bd8abd23538a89cae3be9
tree56a50143253bfecf8099e772ce8194d131b3ea63
parent6caa8433fa087b1450a1c0c913ae5dee7dc4f191
t/h/L/vif-common.sh: fix handle_iptable return value

A return statement without explicit value will return the value of the
last command executed before this line with return was encountered.

This is not what we want. return 0.

Closes: #955994
Fixes: 2e0814f971dd ("vif-common: disable handle_iptable")
Reported-by: Samuel Thibault <sthibault@debian.org>
Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
Gbp-Pq: Name 0026-t-h-L-vif-common.sh-fix-handle_iptable-return-value.patch
tools/hotplug/Linux/vif-common.sh