2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-15 02:40:28 +00:00

Make one correction.

This commit is contained in:
Wai Yee Wong
2020-09-28 22:10:47 -04:00
parent 0e4ce55881
commit a5535becc5

View File

@ -1255,7 +1255,7 @@ sub parse_args {
my $option_s;
GetOptions( 's' => \$option_s );
return ([ 1, "The -s option is not supported for OpenBMC." ]) if ($option_s);
my @temp = grep ({$command =~ $_ } @ARGV);
my @temp = grep ({"resolved" =~ $_ } @ARGV);
if ( "resolved=" eq $temp[0]) {
return ([ 1, "$usage_errormsg $reventlog_no_id_resolved_errormsg" ]);
}