# File lib/rubyipmi/freeipmi/commands/basecommand.rb, line 32 def validate_status(exitstatus) case @cmdname when "ipmipower" # until ipmipower returns the correct exit status this is a hack # essentially any result greater than 23 characters is an error if @result.length > 23 return false end when "bmc-config" if @result.length > 100 return true end end return exitstatus.success? end