aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-11 20:04:15 +0000
committerRoy Marples <roy@marples.name>2008-02-11 20:04:15 +0000
commit5e470afb5251fdd51188999e23a7d9c2bbfe657c (patch)
tree05e99c365370c9858c5c1d0de8f160c9f6fd908e
parent3198d81a1fa00b93716078504f8b681fe0c7d2ff (diff)
Ignore resolvconf error messages if the interface does not exist.
-rwxr-xr-xsh/net.sh2
1 files changed, 1 insertions, 1 deletions
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"