diff --git a/xCAT-server/lib/xcat/plugins/AAAusage.pm b/xCAT-server/lib/xcat/plugins/AAAusage.pm index 0c6d876b9..f09afce69 100644 --- a/xCAT-server/lib/xcat/plugins/AAAusage.pm +++ b/xCAT-server/lib/xcat/plugins/AAAusage.pm @@ -56,7 +56,7 @@ sub preprocess_request { if (ref($extrargs)) { @exargs=@$extrargs; } - if (($#exargs==-1) or (($#exargs==0) and ($exargs[0] =~ /^\s*$/)) or (!$noderange and $command ne "lsslp")) { + if (($#exargs==-1) or (($#exargs==0) and ($exargs[0] =~ /^\s*$/)) and (!$noderange and $command ne "lsslp")) { $exargs[0] = "--help"; # force help if no args }