We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3318334 commit 6423c2fCopy full SHA for 6423c2f
resources/scripts/setup_minikube.sh
@@ -8,6 +8,8 @@ if [ -z "${WAR_RPC+x}" ]; then
8
exit 1
9
fi
10
11
+ERROR_CODE=0
12
+
13
# Colors and styles
14
RESET='\033[0m'
15
BOLD='\033[1m'
@@ -37,6 +39,11 @@ print_partial_message() {
37
39
38
40
echo -e "${color}${pre_message}${format}${formatted_part}${RESET}${color}${post_message}${RESET}"
41
}
42
+if [ $ERROR_CODE -ne 0 ]; then
43
+ print_message "" "There were errors in the setup process. Please fix them and try again." "$BOLD"
44
+ exit $ERROR_CODE
45
+fi
46
47
# Check minikube status
48
minikube delete
49
0 commit comments