# File lib/rhc/commands/domain.rb, line 91 def status args = [] options.__hash__.each do |key, value| value = value.to_s if value.length > 0 && value.to_s.strip.length == 0; value = "'#{value}'" end args << "--#{key} #{value}" end Kernel.system("rhc-chk #{args.join(' ')} 2>&1") $?.exitstatus.nil? ? 1 : $?.exitstatus end