summaryrefslogtreecommitdiffstats
path: root/lib/configure-deps-functions.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-07-05 15:36:17 -0400
committerDan Radez <dradez@redhat.com>2017-07-05 15:36:17 -0400
commit89bffdb811f8ca932ff13ed92f5f3b64f1b66277 (patch)
tree6e2dea932219dd94562ddfa3459d4973c3d2955a /lib/configure-deps-functions.sh
parent586110a27dc11e89a5ff3552f3215e8a0716aa92 (diff)
Missing brackets on x86_64 conditional
Change-Id: I5436317075ceffa18c34e213795ed3816627d121 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib/configure-deps-functions.sh')
-rwxr-xr-xlib/configure-deps-functions.sh2
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}"