From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7D854138B0A for ; Mon, 24 Oct 2016 00:04:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DBE2E07A3; Mon, 24 Oct 2016 00:04:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E470BE07A3 for ; Mon, 24 Oct 2016 00:04:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48D2934165D for ; Mon, 24 Oct 2016 00:04:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C546B2FF for ; Mon, 24 Oct 2016 00:04:20 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1477266721.7a057b6ab2dc644f7b292666f4363a72df47a03d.robbat2@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: net/ X-VCS-Repository: proj/netifrc X-VCS-Files: net/iproute2.sh X-VCS-Directories: net/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 7a057b6ab2dc644f7b292666f4363a72df47a03d X-VCS-Branch: master Date: Mon, 24 Oct 2016 00:04:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 762bcdc5-30ed-47fd-a4de-19860ebdbdb4 X-Archives-Hash: 03d463992544ac7590da2b1671296f42 commit: 7a057b6ab2dc644f7b292666f4363a72df47a03d Author: Robin H. Johnson gentoo org> AuthorDate: Sun Oct 23 23:52:01 2016 +0000 Commit: Robin H. Johnson gentoo 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 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