Update exit code for ES checks

This commit is contained in:
weslambert
2022-07-12 16:15:44 -04:00
committed by GitHub
parent 4502182b53
commit d0a0ca8458

View File

@@ -389,7 +389,7 @@ es_version_check() {
echo "Otherwise, if your deployment is configured for airgap, you can instead download the 2.3.130 ISO image from https://download.securityonion.net/file/securityonion/securityonion-2.3.130-20220607.iso."
echo ""
echo "*** Once you have updated to 2.3.130, you can then update to 2.3.140 or higher as you would normally. ***"
exit 0
exit 1
fi
}
@@ -402,7 +402,7 @@ es_indices_check() {
echo "The following indices were created with Elasticsearch 6, and are not supported when upgrading to Elasticsearch 8. These indices may need to be deleted, migrated, or re-indexed before proceeding with the upgrade. Please see https://docs.securityonion.net/en/2.3/elasticsearch.html for more details."
echo
echo "$UNSUPPORTED_INDICES"
exit 0
exit 1
}
generate_and_clean_tarballs() {