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>
Wed, 13 Jul 2022 14:28:39 +0000 (15:28 +0100)
commit98fc9dd4d34cb8212d5da4bda17bc6a629e8c4cc
treea753adea66e2fd8b375b94c71b1beeaf37b65788
parenta773aeee0170677b11d0d1591a7e16d57c45c590
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