Skip to content

ipmi_fru_print_all: Assign rc=0 if even a single FRU print succeeds. #327

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

macronet
Copy link

Current behavior is "assign rc inside a loop while walking SDRs" and the most recent one gets picked.

Assign rc = 0 if we can successfully print even a single FRU datapoint, otherwise error (-1)

Fixes #326

Signed-off-by: Johannes Brummer johannes.brummer@upcloud.com

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fru print exit status depends on the last processed item
1 participant