Ignore resolvconf error messages if the interface does not exist.
This commit is contained in:
1 parent
3198d81a1f
commit
5e470afb52
1 file changed
+1
-1
@@ -666,7 +666,7 @@ stop()
|
||||
[ "${IFACE}" != "lo" -a "${IFACE}" != "lo0" ] && \
|
||||
_down 2>/dev/null
|
||||
|
||||
type resolvconf >/dev/null 2>&1 && resolvconf -d "${IFACE}"
|
||||
type resolvconf >/dev/null 2>&1 && resolvconf -d "${IFACE}" 2>/dev/null
|
||||
|
||||
if type postdown >/dev/null 2>&1; then
|
||||
ebegin "Running postdown"
|
||||
|
||||
Reference in new issue
Block a user