aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDennis Fink2026-09-27 21:37:45 +0200
committerDennis Fink2026-09-27 21:37:45 +0200
commitc7403b5870aed4baaf5253d21761619d8607efb7 (patch)
tree98da4ca9ec935431c9ca533dc395cb1451a9d37a /README.md
parent731a25e096cf9af3c0c5b3303796df7b3e91df36 (diff)
downloadprometheus-pacman-exporter-c7403b5870aed4baaf5253d21761619d8607efb7.tar.gz
prometheus-pacman-exporter-c7403b5870aed4baaf5253d21761619d8607efb7.zip
fix(commands): distinguish empty query results
Track exit codes that indicate an empty package query separately from accepted success codes. Treat pacman exit status 1 as an empty result only when both stdout and stderr are empty, while preserving genuine command failures as errors. Apply the empty-result handling to pacman queries that may legitimately return no packages, including update checks.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions