From 5e470afb5251fdd51188999e23a7d9c2bbfe657c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 11 Feb 2008 20:04:15 +0000 Subject: Ignore resolvconf error messages if the interface does not exist. --- sh/net.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh') diff --git a/sh/net.sh b/sh/net.sh index 4b4469c9..c7219086 100755 --- a/sh/net.sh +++ b/sh/net.sh @@ -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" -- cgit v1.2.3