diff options
author | Roy Marples <roy@marples.name> | 2008-02-11 20:04:15 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-11 20:04:15 +0000 |
commit | 5e470afb5251fdd51188999e23a7d9c2bbfe657c (patch) | |
tree | 05e99c365370c9858c5c1d0de8f160c9f6fd908e | |
parent | 3198d81a1fa00b93716078504f8b681fe0c7d2ff (diff) |
Ignore resolvconf error messages if the interface does not exist.
-rwxr-xr-x | sh/net.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |