2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #3135 from whowutwut/expose_rvitals

Expose the rvitals command as part of openbmc support
This commit is contained in:
Mark Gurevich 2017-05-30 16:21:16 -04:00 committed by GitHub
commit 50ec268c13

View File

@ -458,7 +458,6 @@ sub parse_args {
}
}
} elsif ($command eq "rvitals") {
$check = unsupported($callback); if (ref($check) eq "ARRAY") { return $check; }
$subcommand = "all" if (!defined($ARGV[0]));
unless ($subcommand =~ /^temp$|^voltage$|^wattage$|^fanspeed$|^power$|^altitude$|^all$/) {
return ([ 1, "Unsupported command: $command $subcommand" ]);