fix
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
# Preflight checks. Fail loud and early with actionable messages.
|
||||
|
||||
check_bash() {
|
||||
if ((BASH_VERSINFO[0] < 4)); then
|
||||
ui_err "$(t err_bash_version "$BASH_VERSION")"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
check_docker() {
|
||||
if ! command -v docker >/dev/null 2>&1; then
|
||||
ui_err "$(t err_need_docker)"; exit 1
|
||||
@@ -38,7 +31,6 @@ is_port_free() {
|
||||
}
|
||||
|
||||
preflight() {
|
||||
check_bash
|
||||
check_docker
|
||||
check_openssl
|
||||
ui_ok "$(t preflight_ok)"
|
||||
|
||||
Reference in New Issue
Block a user