Correct Spelling (#360)

* Update adguard-install.sh

* Update daemonsync-install.sh

* Update dashy-install.sh

* Update debian-install.sh

* Update deconz-install.sh

* Update docker-install.sh

* Update esphome-install.sh

* Update grafana-install.sh

* Update heimdalldashboard-install.sh

* Update homeassistant-install.sh

* Update homebridge-install.sh

* Update influxdb-install.sh

* Update iobroker-install.sh

* Update jellyfin-install.sh

* Update keycloak-install.sh

* Update magicmirror-install.sh

* Update mariadb-install.sh

* Update meshcentral-install.sh

* Update motioneye-install.sh

* Update mqtt-install.sh

* Update nginx-proxy-manager-install.sh

* Update nocodb-install.sh

* Update node-red-install.sh

* Update omada-install.sh

* Update openhab-install.sh

* Update photoprism-install.sh

* Update pihole-install.sh

* Update plex-install.sh

* Update podman-homeassistant-install.sh

* Update postgresql-install.sh

* Update prometheus-install.sh

* Update technitiumdns-install.sh

* Update ubuntu-install.sh

* Update unifi-install.sh

* Update uptimekuma-install.sh

* Update vaultwarden-install.sh

* Update whoogle-install.sh

* Update wireguard-install.sh

* Update zigbee2mqtt-install.sh

* Update zwavejs2mqtt-install.sh

* Update adguard-v3.sh

* Update create_lxc.sh

* Update daemonsync-v3.sh

* Update dashy-v3.sh

* Update debian-v3.sh

* Update deconz-v3.sh

* Update docker-v3.sh

* Update esphome-v3.sh

* Update grafana-v3.sh

* Update heimdalldashboard-v3.sh

* Update homeassistant-v3.sh

* Update homebridge-v3.sh

* Update influxdb-v3.sh

* Update iobroker-v3.sh

* Update jellyfin-v3.sh

* Update keycloak-v3.sh

* Update magicmirror-v3.sh

* Update mariadb-v3.sh

* Update meshcentral-v3.sh

* Update motioneye-v3.sh

* Update mqtt-v3.sh

* Update nginx-proxy-manager-v3.sh

* Update nocodb-v3.sh

* Update node-red-v3.sh

* Update omada-v3.sh

* Update openhab-v3.sh

* Update photoprism-v3.sh

* Update pihole-v3.sh

* Update plex-v3.sh

* Update podman-homeassistant-v3.sh

* Update postgresql-v3.sh

* Update prometheus-v3.sh

* Update technitiumdns-v3.sh

* Update ubuntu-v3.sh

* Update unifi-v3.sh

* Update uptimekuma-v3.sh

* Update vaultwarden-v3.sh

* Update whoogle-v3.sh

* Update wireguard-v3.sh

* Update zigbee2mqtt-v3.sh

* Update zwavejs2mqtt-v3.sh
This commit is contained in:
tteckster 2022-07-20 06:10:39 -04:00 committed by GitHub
parent 5b9c37ce81
commit fca2fcf970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
81 changed files with 97 additions and 80 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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