diff --git a/script-library/docker-redhat.sh b/script-library/docker-redhat.sh index f6871250..85d9fdcf 100755 --- a/script-library/docker-redhat.sh +++ b/script-library/docker-redhat.sh @@ -102,7 +102,7 @@ else exit fi else - RHEL_COMPAT_VER=$VERSION_ID + RHEL_COMPAT_VER=${VERSION_ID%%.*} fi fi