diff options
author | Dan Radez <dradez@redhat.com> | 2017-07-05 15:36:17 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2017-07-05 15:36:17 -0400 |
commit | 89bffdb811f8ca932ff13ed92f5f3b64f1b66277 (patch) | |
tree | 6e2dea932219dd94562ddfa3459d4973c3d2955a /lib | |
parent | 586110a27dc11e89a5ff3552f3215e8a0716aa92 (diff) |
Missing brackets on x86_64 conditional
Change-Id: I5436317075ceffa18c34e213795ed3816627d121
Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/configure-deps-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/configure-deps-functions.sh b/lib/configure-deps-functions.sh index 3d0e3ac7..4c00fbf3 100755 --- a/lib/configure-deps-functions.sh +++ b/lib/configure-deps-functions.sh @@ -130,7 +130,7 @@ EOF virsh pool-list | grep -Eo "default\s+active" > /dev/null || (virsh pool-autostart default; virsh pool-start default) # Virt flag check is Arch dependent on x86 - if "$(uname -i)" == 'x86_64'; then + if [ "$(uname -i)" == 'x86_64' ]; then if ! egrep '^flags.*(vmx|svm)' /proc/cpuinfo > /dev/null; then echo "${red}virtualization extensions not found, kvm kernel module insertion may fail.\n \ Are you sure you have enabled vmx in your bios or hypervisor?${reset}" |