lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150324150021.1cf3a756@urahara>
Date:	Tue, 24 Mar 2015 15:00:21 -0700
From:	Stephen Hemminger <stephen@...workplumber.org>
To:	roopa@...ulusnetworks.com
Cc:	netdev@...r.kernel.org, haegar@...net.de
Subject: Re: [PATCH iproute2] fix ip -force -batch to continue on errors

On Tue, 17 Mar 2015 19:26:32 -0700
roopa@...ulusnetworks.com wrote:

> From: Roopa Prabhu <roopa@...ulusnetworks.com>
> 
> This patch replaces exits with returns in several
> iproute2 commands. This fixes `ip -batch -force`
> to not exit but continue on errors.
> 
> $cat c.txt
> route del 1.2.3.0/24 dev eth0
> route del 1.2.4.0/24 dev eth0
> route del 1.2.5.0/24 dev eth0
> route add 1.2.3.0/24 dev eth0
> 
> $ip -force -batch c.txt
> RTNETLINK answers: No such process
> Command failed c.txt:2
> RTNETLINK answers: No such process
> Command failed c.txt:3
> 
> Reported-by: Sven-Haegar Koch <haegar@...net.de>
> Signed-off-by: Roopa Prabhu <roopa@...ulusnetworks.com>

Applied thanks
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ