From 198ad2af2aec21835980656c28e392709617fb2a Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Wed, 18 Jun 2025 16:41:17 -0400 Subject: [PATCH] Imporing receiver init script (starting.sh exit) --- support/starting.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/support/starting.sh b/support/starting.sh index d125ad0..2583a83 100755 --- a/support/starting.sh +++ b/support/starting.sh @@ -52,6 +52,9 @@ case "$DB_TYPE" in ;; "POSTGRESQL" ) /usr/lib/$APPNAME/support/crdb.sh "/" + if [ $? != 0 ] ; then + exit -1 + fi ;; "TO_BE_DEFINED" ) echo "You must install $APPNAME with a DB flavor (ex: $APPNAME-pgsql, $APPNAME-mysql)" @@ -84,7 +87,7 @@ if [ ! -f /etc/$APPNAME/config.done ] ; then ;; * ) echo "sh_mkconf: Unexpected OS=$OS, exiting!" - exit 1 + exit -1 ;; esac date > /etc/$APPNAME/config.done -- 2.47.3