Re: [PATCH] iproute: print more verbose error on route cache flush

2015-09-07 Thread Stephen Hemminger
On Sat, 5 Sep 2015 10:40:50 +0300 Denis Kirjanov wrote: > Before: > kda@vfirst ~/devel/iproute2 $ ./ip/ip route flush cache > Cannot open "/proc/sys/net/ipv4/route/flush" > > After: > kda@vfirst ~/devel/iproute2/ip $ ./ip route flush cache > Cannot open

[PATCH] iproute: print more verbose error on route cache flush

2015-09-05 Thread Denis Kirjanov
Before: kda@vfirst ~/devel/iproute2 $ ./ip/ip route flush cache Cannot open "/proc/sys/net/ipv4/route/flush" After: kda@vfirst ~/devel/iproute2/ip $ ./ip route flush cache Cannot open "/proc/sys/net/ipv4/route/flush": Permission denied Signed-off-by: Denis Kirjanov ---