]> granicus.if.org Git - procps-ng/commit
sysctl: enable pattern matching with path
authorSami Kerola <kerolasa@iki.fi>
Sun, 18 Dec 2011 15:24:36 +0000 (16:24 +0100)
committerSami Kerola <kerolasa@iki.fi>
Tue, 20 Dec 2011 16:30:55 +0000 (17:30 +0100)
commita10282422b9386a2192c1603bad82b81dfcb46e7
tree001e7dafcb5deb52144a7b87cc9f289927e707a9
parent5862f47b96afe21490c7d891b492bd31003ab77a
sysctl: enable pattern matching with path

Pattern matching support in `sysctl: implement --pattern option'
commit did not work when variable path was defined, for example

$ sysctl net.ipv4 -r arp.ignore

gave no output. Reason being was tht the pattern was matched agains
the specified argument and not the output variable list.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sysctl.c