| ... | ... |
@@ -340,7 +340,7 @@ function configure_nova {
|
| 340 | 340 |
if [ ! -e /dev/kvm ]; then |
| 341 | 341 |
echo "WARNING: Switching to QEMU" |
| 342 | 342 |
LIBVIRT_TYPE=qemu |
| 343 |
- if which selinuxenabled 2>&1 > /dev/null && selinuxenabled; then |
|
| 343 |
+ if which selinuxenabled >/dev/null 2>&1 && selinuxenabled; then |
|
| 344 | 344 |
# https://bugzilla.redhat.com/show_bug.cgi?id=753589 |
| 345 | 345 |
sudo setsebool virt_use_execmem on |
| 346 | 346 |
fi |