Skip to content

Let nvidiactl return success on systems with no Nvidia card #24

Merged

Conversation

pmenzel
Copy link
Contributor

@pmenzel pmenzel commented Feb 20, 2018

No description provided.

Currently, on systems with no Nvidia card, the script returns 1, which
is considered an error. This causes the systemd service unit running
this script to be shown as failed, and these systems are marked as
*degraded* by systemd (`systemctl`, `systemdctl status`).

But, having a system with no Nvidia card is totally fine, as there are
such systems, and therefore shouldn’t be considered an error.

Only return an error, if there really is some incorrect behavior.
@donald donald merged commit 613b23b into master Feb 21, 2018
@donald donald deleted the let-nvidiactl-return-success-on-systems-with-no-nvidia-card branch March 14, 2018 09:36
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants