diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2018-07-05 16:57:19 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2018-07-05 16:57:19 +0300 |
commit | 81ea5df3b31d0b6bb8f3cc3593be756f7782ab6d (patch) | |
tree | 043f43cecb6ac173ea9ab7ce13f4134277d36960 | |
parent | 1b8459db08f8e7cc52a674810b402f6baf5d0723 (diff) |
Fix: extra operand error
-rw-r--r-- | include/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions b/include/functions index 148f2dbe..951ebae7 100644 --- a/include/functions +++ b/include/functions @@ -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" ;; |