summaryrefslogtreecommitdiff
path: root/scripts/cli/test_system_display.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-09-01 09:01:37 +0000
committerChristian Breunig <christian@breunig.cc>2026-09-01 17:28:55 +0200
commitfaeace4a37d890e9bfa1bc6b4584d0994853fb37 (patch)
tree069b5638d9a4093acf60d96901e0850db53b8930 /scripts/cli/test_system_display.py
parent5d9481d4f315c5e6296e374904d2f22768b995ec (diff)
downloadvyos-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/cli/test_system_display.py')
0 files changed, 0 insertions, 0 deletions