diff --git a/xCAT-server/lib/xcat/plugins/openbmc2.pm b/xCAT-server/lib/xcat/plugins/openbmc2.pm index f48817a26..6bf4f8e28 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc2.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc2.pm @@ -448,7 +448,7 @@ sub refactor_args { } } if ($command eq "reventlog") { - if (!defined($extrargs->[0])) { + if ((!defined($extrargs->[0])) or ($extrargs->[0] =~ /^-V/)) { # If no parameters are passed, default to list all records $request->{arg} = ["list","all"]; }