mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Fix: extra operand error
This commit is contained in:
parent
1b8459db08
commit
81ea5df3b3
1 changed files with 1 additions and 1 deletions
|
|
@ -1552,7 +1552,7 @@
|
|||
# Check if we caught some string along all tests
|
||||
if [ ! "${SHORT}" = "" ]; then
|
||||
# Lowercase and see if we found a match
|
||||
SHORT=$(echo ${SHORT} | awk '{ print $1 }' | tr [[:upper:]] [[:lower:]])
|
||||
SHORT=$(echo ${SHORT} | awk '{ print $1 }' | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
case ${SHORT} in
|
||||
amazon-ec2) ISVIRTUALMACHINE=1; VMTYPE="amazon-ec2"; VMFULLTYPE="Amazon AWS EC2 Instance" ;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue