mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update exit code for ES checks
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user