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>
Thu, 2 Dec 2021 20:45:55 +0000 (20:45 +0000)
commit8be67d78a76d01c0ecd4c5d2e2f2bb47cfabba22
treec90b583e964d77e734cdb0c45c7359032e405392
parent5a7f9e4ebbbf9fec8e429ef2b9af202456ab2e09
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