aboutsummaryrefslogtreecommitdiff
path: root/prometheus_pacman_exporter/__main__.py
diff options
context:
space:
mode:
authorDennis Fink2026-09-29 14:18:50 +0200
committerDennis Fink2026-09-29 14:18:50 +0200
commit08ff13802e585ee8ce6d4e6b6da5815182aa7b58 (patch)
tree48aa3057da4269e5af39afb93c593c7cde442297 /prometheus_pacman_exporter/__main__.py
parent92ee4e2a8ee821659cf2deea1a96659bb8d231cd (diff)
downloadprometheus-pacman-exporter-08ff13802e585ee8ce6d4e6b6da5815182aa7b58.tar.gz
prometheus-pacman-exporter-08ff13802e585ee8ce6d4e6b6da5815182aa7b58.zip
fix(commands): do not fail on silent nonzero exits
Only abort command execution when a non-accepted exit code is accompanied by stderr output. Allow silent nonzero exits to return normally so package queries that use them to indicate an empty result are not incorrectly treated as failures.
Diffstat (limited to 'prometheus_pacman_exporter/__main__.py')
0 files changed, 0 insertions, 0 deletions