summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2014-01-16 07:58:33 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2014-01-16 08:14:34 (GMT)
commitce2867352dfa0bbd2830ba70fcee7499a4e7252b (patch)
tree58443ac6d534f74230618af672b653d15ec860e9
parent2b9a268f29af8283c789bf68f7fc3b98c5ec747e (diff)
downloadbuildroot-ce2867352dfa0bbd2830ba70fcee7499a4e7252b.tar.gz
buildroot-ce2867352dfa0bbd2830ba70fcee7499a4e7252b.tar.bz2
busybox: udhcpc script: suppress useless error message
Suppress the following error: route: SIOCDELRT: No such process Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rwxr-xr-xpackage/busybox/udhcpc.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/busybox/udhcpc.script b/package/busybox/udhcpc.script
index 9e08dad..e23d1f1 100755
--- a/package/busybox/udhcpc.script
+++ b/package/busybox/udhcpc.script
@@ -40,7 +40,7 @@ case "$1" in
if [ -n "$router" ] ; then
echo "deleting routers"
- while route del default gw 0.0.0.0 dev $interface ; do
+ while route del default gw 0.0.0.0 dev $interface 2> /dev/null; do
:
done