diff --git a/ct/adguard-v3.sh b/ct/adguard-v3.sh index 655fa9de..de7e7e8c 100644 --- a/ct/adguard-v3.sh +++ b/ct/adguard-v3.sh @@ -24,7 +24,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/create_lxc.sh b/ct/create_lxc.sh index 5bcce863..4cb7864e 100644 --- a/ct/create_lxc.sh +++ b/ct/create_lxc.sh @@ -17,7 +17,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/daemonsync-v3.sh b/ct/daemonsync-v3.sh index 2930caaa..f4b50508 100644 --- a/ct/daemonsync-v3.sh +++ b/ct/daemonsync-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/dashy-v3.sh b/ct/dashy-v3.sh index 3b2bf0d4..8d74bd5d 100644 --- a/ct/dashy-v3.sh +++ b/ct/dashy-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/debian-v3.sh b/ct/debian-v3.sh index 5c872b28..4003fd90 100644 --- a/ct/debian-v3.sh +++ b/ct/debian-v3.sh @@ -29,7 +29,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/deconz-v3.sh b/ct/deconz-v3.sh index 246c5616..6997e34c 100644 --- a/ct/deconz-v3.sh +++ b/ct/deconz-v3.sh @@ -29,7 +29,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/docker-v3.sh b/ct/docker-v3.sh index 4dde4984..bca99c7e 100644 --- a/ct/docker-v3.sh +++ b/ct/docker-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/esphome-v3.sh b/ct/esphome-v3.sh index 9f8b2456..8616eb25 100644 --- a/ct/esphome-v3.sh +++ b/ct/esphome-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/grafana-v3.sh b/ct/grafana-v3.sh index 3175cdc2..d106ab55 100644 --- a/ct/grafana-v3.sh +++ b/ct/grafana-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/heimdalldashboard-v3.sh b/ct/heimdalldashboard-v3.sh index 130e5587..c56ab9e1 100644 --- a/ct/heimdalldashboard-v3.sh +++ b/ct/heimdalldashboard-v3.sh @@ -24,7 +24,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/homeassistant-v3.sh b/ct/homeassistant-v3.sh index 382de9a8..4bedfe63 100644 --- a/ct/homeassistant-v3.sh +++ b/ct/homeassistant-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/homebridge-v3.sh b/ct/homebridge-v3.sh index bb6a1473..0bb4cd62 100644 --- a/ct/homebridge-v3.sh +++ b/ct/homebridge-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/influxdb-v3.sh b/ct/influxdb-v3.sh index c8602b61..075c51d4 100644 --- a/ct/influxdb-v3.sh +++ b/ct/influxdb-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/iobroker-v3.sh b/ct/iobroker-v3.sh index 3382c5a1..55f98b00 100644 --- a/ct/iobroker-v3.sh +++ b/ct/iobroker-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/jellyfin-v3.sh b/ct/jellyfin-v3.sh index df1784ff..2262277d 100644 --- a/ct/jellyfin-v3.sh +++ b/ct/jellyfin-v3.sh @@ -24,7 +24,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/keycloak-v3.sh b/ct/keycloak-v3.sh index 5794a434..ddfd12ae 100644 --- a/ct/keycloak-v3.sh +++ b/ct/keycloak-v3.sh @@ -29,7 +29,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/magicmirror-v3.sh b/ct/magicmirror-v3.sh index b97f981f..ab15832f 100644 --- a/ct/magicmirror-v3.sh +++ b/ct/magicmirror-v3.sh @@ -29,7 +29,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/mariadb-v3.sh b/ct/mariadb-v3.sh index da4485e8..3ec3fd17 100644 --- a/ct/mariadb-v3.sh +++ b/ct/mariadb-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/meshcentral-v3.sh b/ct/meshcentral-v3.sh index ddefc38d..1b47dfc1 100644 --- a/ct/meshcentral-v3.sh +++ b/ct/meshcentral-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/motioneye-v3.sh b/ct/motioneye-v3.sh index 10ade0fd..a837501c 100644 --- a/ct/motioneye-v3.sh +++ b/ct/motioneye-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/mqtt-v3.sh b/ct/mqtt-v3.sh index 6da68624..d9e7f025 100644 --- a/ct/mqtt-v3.sh +++ b/ct/mqtt-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/nginx-proxy-manager-v3.sh b/ct/nginx-proxy-manager-v3.sh index 16eff8e0..3485393f 100644 --- a/ct/nginx-proxy-manager-v3.sh +++ b/ct/nginx-proxy-manager-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/nocodb-v3.sh b/ct/nocodb-v3.sh index 18370502..34712d40 100644 --- a/ct/nocodb-v3.sh +++ b/ct/nocodb-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/node-red-v3.sh b/ct/node-red-v3.sh index cb35cefb..f0331e4d 100644 --- a/ct/node-red-v3.sh +++ b/ct/node-red-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/omada-v3.sh b/ct/omada-v3.sh index eb2e23e3..513d93f3 100644 --- a/ct/omada-v3.sh +++ b/ct/omada-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/openhab-v3.sh b/ct/openhab-v3.sh index f3c0bcc6..35d512c4 100644 --- a/ct/openhab-v3.sh +++ b/ct/openhab-v3.sh @@ -29,7 +29,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/photoprism-v3.sh b/ct/photoprism-v3.sh index 6a74a0fe..bc2f2362 100644 --- a/ct/photoprism-v3.sh +++ b/ct/photoprism-v3.sh @@ -24,7 +24,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/pihole-v3.sh b/ct/pihole-v3.sh index 9bae1e0f..88c5a57e 100644 --- a/ct/pihole-v3.sh +++ b/ct/pihole-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/plex-v3.sh b/ct/plex-v3.sh index 302b48df..8d3ea495 100644 --- a/ct/plex-v3.sh +++ b/ct/plex-v3.sh @@ -24,7 +24,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/podman-homeassistant-v3.sh b/ct/podman-homeassistant-v3.sh index 1464ac6f..97d2048d 100644 --- a/ct/podman-homeassistant-v3.sh +++ b/ct/podman-homeassistant-v3.sh @@ -24,7 +24,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/postgresql-v3.sh b/ct/postgresql-v3.sh index 8b120b89..788fea92 100644 --- a/ct/postgresql-v3.sh +++ b/ct/postgresql-v3.sh @@ -29,7 +29,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/prometheus-v3.sh b/ct/prometheus-v3.sh index aab32e44..ad555450 100644 --- a/ct/prometheus-v3.sh +++ b/ct/prometheus-v3.sh @@ -29,7 +29,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/technitiumdns-v3.sh b/ct/technitiumdns-v3.sh index 192e0ab1..107dfe7d 100644 --- a/ct/technitiumdns-v3.sh +++ b/ct/technitiumdns-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/ubuntu-v3.sh b/ct/ubuntu-v3.sh index a1384182..586f4f82 100644 --- a/ct/ubuntu-v3.sh +++ b/ct/ubuntu-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/unifi-v3.sh b/ct/unifi-v3.sh index 3b237b86..40d5a222 100644 --- a/ct/unifi-v3.sh +++ b/ct/unifi-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/uptimekuma-v3.sh b/ct/uptimekuma-v3.sh index f2287af9..fc5eb477 100644 --- a/ct/uptimekuma-v3.sh +++ b/ct/uptimekuma-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/vaultwarden-v3.sh b/ct/vaultwarden-v3.sh index bfa156f7..38a23d01 100644 --- a/ct/vaultwarden-v3.sh +++ b/ct/vaultwarden-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/whoogle-v3.sh b/ct/whoogle-v3.sh index 8cc19d7e..c0529fb3 100644 --- a/ct/whoogle-v3.sh +++ b/ct/whoogle-v3.sh @@ -30,7 +30,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/wireguard-v3.sh b/ct/wireguard-v3.sh index 2bebc82a..b0bf0bac 100644 --- a/ct/wireguard-v3.sh +++ b/ct/wireguard-v3.sh @@ -23,7 +23,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/zigbee2mqtt-v3.sh b/ct/zigbee2mqtt-v3.sh index 81c57807..3a48dd9c 100644 --- a/ct/zigbee2mqtt-v3.sh +++ b/ct/zigbee2mqtt-v3.sh @@ -24,7 +24,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/ct/zwavejs2mqtt-v3.sh b/ct/zwavejs2mqtt-v3.sh index 6b54e7c1..99afdd8d 100644 --- a/ct/zwavejs2mqtt-v3.sh +++ b/ct/zwavejs2mqtt-v3.sh @@ -14,6 +14,23 @@ CM="${GN}✓${CL}" CROSS="${RD}✗${CL}" APP="Zwavejs2MQTT" NSAPP=$(echo ${APP,,} | tr -d ' ') +set -o errexit +set -o errtrace +set -o nounset +set -o pipefail +shopt -s expand_aliases +alias die='EXIT=$? LINE=$LINENO error_exit' +trap die ERR + +function error_exit() { + trap - ERR + local reason="Unknown failure occurred." + local msg="${1:-$reason}" + local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" + echo -e "$flag $msg" 1>&2 + exit $EXIT +} + while true; do read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn case $yn in diff --git a/setup/adguard-install.sh b/setup/adguard-install.sh index 9837589f..fd8ff882 100644 --- a/setup/adguard-install.sh +++ b/setup/adguard-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/daemonsync-install.sh b/setup/daemonsync-install.sh index 60d6e1cf..2af9de0a 100644 --- a/setup/daemonsync-install.sh +++ b/setup/daemonsync-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/dashy-install.sh b/setup/dashy-install.sh index f172a1c2..02039294 100644 --- a/setup/dashy-install.sh +++ b/setup/dashy-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/debian-install.sh b/setup/debian-install.sh index e7c6af98..48e7eb1f 100644 --- a/setup/debian-install.sh +++ b/setup/debian-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/deconz-install.sh b/setup/deconz-install.sh index e367205f..d38b416a 100644 --- a/setup/deconz-install.sh +++ b/setup/deconz-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/docker-install.sh b/setup/docker-install.sh index fed664cf..aec07703 100644 --- a/setup/docker-install.sh +++ b/setup/docker-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/esphome-install.sh b/setup/esphome-install.sh index 44fe61fa..e8c0c05a 100644 --- a/setup/esphome-install.sh +++ b/setup/esphome-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/grafana-install.sh b/setup/grafana-install.sh index 12a96358..9eff5400 100644 --- a/setup/grafana-install.sh +++ b/setup/grafana-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/heimdalldashboard-install.sh b/setup/heimdalldashboard-install.sh index 5ebef0e8..852068d8 100644 --- a/setup/heimdalldashboard-install.sh +++ b/setup/heimdalldashboard-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/homeassistant-install.sh b/setup/homeassistant-install.sh index 77ab5de4..8ee274bb 100644 --- a/setup/homeassistant-install.sh +++ b/setup/homeassistant-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/homebridge-install.sh b/setup/homebridge-install.sh index 70e455d3..8ba3327f 100644 --- a/setup/homebridge-install.sh +++ b/setup/homebridge-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/influxdb-install.sh b/setup/influxdb-install.sh index 441f4070..216949e7 100644 --- a/setup/influxdb-install.sh +++ b/setup/influxdb-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/iobroker-install.sh b/setup/iobroker-install.sh index c9650bab..9db4f6d3 100644 --- a/setup/iobroker-install.sh +++ b/setup/iobroker-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/jellyfin-install.sh b/setup/jellyfin-install.sh index 4574a10c..dccddafe 100644 --- a/setup/jellyfin-install.sh +++ b/setup/jellyfin-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/keycloak-install.sh b/setup/keycloak-install.sh index 53da44b8..b593459c 100644 --- a/setup/keycloak-install.sh +++ b/setup/keycloak-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/magicmirror-install.sh b/setup/magicmirror-install.sh index b3461fc7..3513f225 100644 --- a/setup/magicmirror-install.sh +++ b/setup/magicmirror-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/mariadb-install.sh b/setup/mariadb-install.sh index e5680925..18db68da 100644 --- a/setup/mariadb-install.sh +++ b/setup/mariadb-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/meshcentral-install.sh b/setup/meshcentral-install.sh index 2155cf4a..485b352f 100644 --- a/setup/meshcentral-install.sh +++ b/setup/meshcentral-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/motioneye-install.sh b/setup/motioneye-install.sh index 730a5266..4b96cc31 100644 --- a/setup/motioneye-install.sh +++ b/setup/motioneye-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/mqtt-install.sh b/setup/mqtt-install.sh index c84f645d..fd52f630 100644 --- a/setup/mqtt-install.sh +++ b/setup/mqtt-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/nginx-proxy-manager-install.sh b/setup/nginx-proxy-manager-install.sh index 686a4b60..afa87e32 100644 --- a/setup/nginx-proxy-manager-install.sh +++ b/setup/nginx-proxy-manager-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/nocodb-install.sh b/setup/nocodb-install.sh index 7b9c96c7..9e51d2e1 100644 --- a/setup/nocodb-install.sh +++ b/setup/nocodb-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/node-red-install.sh b/setup/node-red-install.sh index 313da248..058fb297 100644 --- a/setup/node-red-install.sh +++ b/setup/node-red-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/omada-install.sh b/setup/omada-install.sh index 0423e373..598dabde 100644 --- a/setup/omada-install.sh +++ b/setup/omada-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/openhab-install.sh b/setup/openhab-install.sh index 25e9f9ab..c4e69e18 100644 --- a/setup/openhab-install.sh +++ b/setup/openhab-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/photoprism-install.sh b/setup/photoprism-install.sh index 9ad97e85..51a62770 100644 --- a/setup/photoprism-install.sh +++ b/setup/photoprism-install.sh @@ -22,7 +22,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/pihole-install.sh b/setup/pihole-install.sh index 0e9b413d..0a47cc07 100644 --- a/setup/pihole-install.sh +++ b/setup/pihole-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/plex-install.sh b/setup/plex-install.sh index 08695424..c5030bc2 100644 --- a/setup/plex-install.sh +++ b/setup/plex-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/podman-homeassistant-install.sh b/setup/podman-homeassistant-install.sh index 0ed099da..43fd53b9 100644 --- a/setup/podman-homeassistant-install.sh +++ b/setup/podman-homeassistant-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/postgresql-install.sh b/setup/postgresql-install.sh index 8cbc6aa3..c9cc2a7b 100644 --- a/setup/postgresql-install.sh +++ b/setup/postgresql-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/prometheus-install.sh b/setup/prometheus-install.sh index 87338f49..e83fa5a0 100644 --- a/setup/prometheus-install.sh +++ b/setup/prometheus-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/technitiumdns-install.sh b/setup/technitiumdns-install.sh index 18d2eca6..1a9e5271 100644 --- a/setup/technitiumdns-install.sh +++ b/setup/technitiumdns-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/ubuntu-install.sh b/setup/ubuntu-install.sh index bc311688..7173f364 100644 --- a/setup/ubuntu-install.sh +++ b/setup/ubuntu-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/unifi-install.sh b/setup/unifi-install.sh index 071ef075..f47cb3e3 100644 --- a/setup/unifi-install.sh +++ b/setup/unifi-install.sh @@ -22,7 +22,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/uptimekuma-install.sh b/setup/uptimekuma-install.sh index 57c13fc2..948ab37f 100644 --- a/setup/uptimekuma-install.sh +++ b/setup/uptimekuma-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/vaultwarden-install.sh b/setup/vaultwarden-install.sh index 78c22b10..ec4da4f3 100644 --- a/setup/vaultwarden-install.sh +++ b/setup/vaultwarden-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/whoogle-install.sh b/setup/whoogle-install.sh index ce4803f6..52d65c56 100644 --- a/setup/whoogle-install.sh +++ b/setup/whoogle-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/wireguard-install.sh b/setup/wireguard-install.sh index 8109a2a0..4804a3c6 100644 --- a/setup/wireguard-install.sh +++ b/setup/wireguard-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/zigbee2mqtt-install.sh b/setup/zigbee2mqtt-install.sh index 0e7f6ad6..8056c2b6 100644 --- a/setup/zigbee2mqtt-install.sh +++ b/setup/zigbee2mqtt-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2 diff --git a/setup/zwavejs2mqtt-install.sh b/setup/zwavejs2mqtt-install.sh index 0d2c1ead..06aabdda 100644 --- a/setup/zwavejs2mqtt-install.sh +++ b/setup/zwavejs2mqtt-install.sh @@ -21,7 +21,7 @@ trap die ERR function error_exit() { trap - ERR - local reason="Unknown failure occured." + local reason="Unknown failure occurred." local msg="${1:-$reason}" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" echo -e "$flag $msg" 1>&2