Fix Fedora version check

The regex in 84068e was inverted.

Change-Id: Ibac88f2f5a2fbd52a3111d87d48352dd6dd813c4
This commit is contained in:
Eric Harney 2018-01-17 15:20:10 -05:00
parent 4795ef87a8
commit 2f37a1f502
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ function _undefine_virsh_secret {
# check_os_support_ceph() - Check if the OS provides a decent version of Ceph
function check_os_support_ceph {
if [[ ! ${DISTRO} =~ f[0-9][0-9] ]]; then
if [[ ${DISTRO} =~ f[0-9][0-9] ]]; then
# Assume all versions of Fedora are fine as of 2018.
return
fi