1 |
commit: 5615325a8406c5691991381d4e9d760e4f84be58 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 27 01:56:26 2011 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 27 01:56:26 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=5615325a |
7 |
|
8 |
net/vlan: Fix prestop when device was hard-removed already |
9 |
|
10 |
During stop of an interface, if it has been removed already (eg |
11 |
hotunplug), not existing is fine. |
12 |
|
13 |
X-Gentoo-Bug: 395859 |
14 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=395859 |
15 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
16 |
|
17 |
--- |
18 |
net/vlan.sh | 2 +- |
19 |
1 files changed, 1 insertions(+), 1 deletions(-) |
20 |
|
21 |
diff --git a/net/vlan.sh b/net/vlan.sh |
22 |
index ced5aa0..960cd09 100644 |
23 |
--- a/net/vlan.sh |
24 |
+++ b/net/vlan.sh |
25 |
@@ -123,7 +123,7 @@ vlan_pre_stop() |
26 |
{ |
27 |
local vlan= |
28 |
|
29 |
- _exists || return 1 |
30 |
+ _exists || return 0 |
31 |
|
32 |
for vlan in $(_get_vlans); do |
33 |
einfo "Removing VLAN ${vlan##*.} from ${IFACE}" |