diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-09-01 09:01:37 +0000 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-09-01 17:28:55 +0200 |
| commit | faeace4a37d890e9bfa1bc6b4584d0994853fb37 (patch) | |
| tree | 069b5638d9a4093acf60d96901e0850db53b8930 /scripts | |
| parent | 5d9481d4f315c5e6296e374904d2f22768b995ec (diff) | |
| download | vyos-1x-faeace4a37d890e9bfa1bc6b4584d0994853fb37.tar.gz vyos-1x-faeace4a37d890e9bfa1bc6b4584d0994853fb37.zip | |
utils: T9269: do not leak sysctl(8) errors to stderr
sysctl_write() reports success through its return code, but the underlying
sysctl(8) call inherited stderr. net.ipv4.neigh.default.gc_thresh* is not
network namespace aware, so a container printed six "cannot stat ... No such
file or directory" lines on every boot.
Capture the output and keep the return code as the only interface to the
caller.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
