Update 02-init_steps.sh

This commit is contained in:
Alexandre
2023-03-23 21:16:09 +01:00
committed by GitHub
parent 17c32d8fdb
commit 98574b50d7

View File

@@ -29,7 +29,7 @@ done
######################
echo "Checking installation"
if [[ "$(occ --version)" == *"Composer autoloader not found"* ]]; then
if [[ "$(occ --version >/dev/null)" == *"Composer autoloader not found"* ]]; then
bashio::log.fatal "Issue with installation detected, reinstallation will proceed"
bashio::log.fatal "-------------------------------------------------------------."
bashio::log.fatal " "