Remain silent on successful version check.

This commit is contained in:
javajosh
2024-07-12 12:36:01 -04:00
parent 789a2a04ef
commit a43dfdffd7

View File

@@ -21,9 +21,7 @@ check_ubuntu_version() {
fi
}
if check_ubuntu_version; then
echo "Script is running on Ubuntu 24.04 or higher. Continuing execution..."
else
if ! check_ubuntu_version; then
echo "Script execution failed due to system requirements not being met." >&2
exit 1
fi