From 5615325a8406c5691991381d4e9d760e4f84be58 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 26 Dec 2011 17:56:26 -0800 Subject: net/vlan: Fix prestop when device was hard-removed already During stop of an interface, if it has been removed already (eg hotunplug), not existing is fine. X-Gentoo-Bug: 395859 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=395859 Signed-off-by: Robin H. Johnson --- net/vlan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/vlan.sh') diff --git a/net/vlan.sh b/net/vlan.sh index ced5aa0..960cd09 100644 --- a/net/vlan.sh +++ b/net/vlan.sh @@ -123,7 +123,7 @@ vlan_pre_stop() { local vlan= - _exists || return 1 + _exists || return 0 for vlan in $(_get_vlans); do einfo "Removing VLAN ${vlan##*.} from ${IFACE}" -- cgit v1.2.3