Skip to content

Don't print systemctl's error when irqbalance isn't installed - #282

Open
mgree wants to merge 1 commit into
psf:mainfrom
mgree:systemd-irqbalance-errmsg
Open

mgree wants to merge 1 commit into
psf:mainfrom
mgree:systemd-irqbalance-errmsg

Conversation

@mgree

@mgree mgree commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

My system doesn't have the irqbalance service, which leads to noisy output when it asks systemctl about it.

This PR detects a "no such service" exit status (4) and acts appropriately, while also capturing the message on stderr.

@mgree
mgree force-pushed the systemd-irqbalance-errmsg branch from af89d08 to 92df917 Compare November 24, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant