commit:     7a057b6ab2dc644f7b292666f4363a72df47a03d
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 23 23:52:01 2016 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 23:52:01 2016 +0000
URL:        https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=7a057b6a

iproute2: handle other error case better.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 net/iproute2.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/iproute2.sh b/net/iproute2.sh
index 779d334..2c9f6bb 100644
--- a/net/iproute2.sh
+++ b/net/iproute2.sh
@@ -203,7 +203,7 @@ _add_address()
                        $msgfunc "Address ${address}${netmask:+/}${netmask} 
already existed: $(ip addr show to "${address}/${family_maxnetmask}" dev 
"${IFACE}" 2>&1)"
                        [ $abort -eq 1 ] && rc=1
                else
-                       # TODO: Handle other errors
+                       : # TODO: Handle other errors
                fi
        fi
        return $rc
@@ -275,7 +275,7 @@ _add_route()
                        $msgfunc "Route '$cmd' already existed: $(ip $family 
route show $cmd dev "${IFACE}" 2>&1)"
                        [ $abort -eq 1 ] && rc=1
                else
-                       # TODO: Handle other errors
+                       : # TODO: Handle other errors
                fi
        fi
        eend $rc

Reply via email to