Add set -e

This commit is contained in:
Alexandre
2023-10-03 20:02:29 +02:00
committed by GitHub
parent ecf0229464
commit c55f3c6752
186 changed files with 194 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
if [ -e "/PORTFILE" ]; then
echo "Installing portainer..."
BUILD_UPSTREAM=$(</PORTFILE)

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
#################
# NGINX SETTING #

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# ==============================================================================
# Home Assistant Community Add-on: Portainer
# Runs some initializations for Portainer

View File

@@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# ==============================================================================
bashio::log.info "Waiting for port 9000 to open..."

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
set -e
bashio::log.info "Starting Portainer..."