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
handle_iptable()
{
# This function is disabled in Debian packaging. See Debian bug #894013.
- return
+ return 0
# Check for a working iptables installation. Checking for the iptables
# binary is not sufficient, because the user may not have the appropriate