diff --git a/org.adempiere.server-feature/utils.unix/oracle/MonitoredSyncDB.sh b/org.adempiere.server-feature/utils.unix/oracle/MonitoredSyncDB.sh index eadde68131..af2de114c9 100755 --- a/org.adempiere.server-feature/utils.unix/oracle/MonitoredSyncDB.sh +++ b/org.adempiere.server-feature/utils.unix/oracle/MonitoredSyncDB.sh @@ -159,7 +159,7 @@ select count(*) from ad_migrationscript where name='$BASEFIX';" | $SILENTCMD | s notify_error() { echo -e "$MSGERROR" - printf '\n%s\n' "Errors were found during the process (see message above) - please inform and integrate a fix to restart this process again" + printf '\n%s\n%s\n' "Error=true" "Errors were found during the process (see message above) - please inform and integrate a fix to restart this process again" SUPPORTEMAIL=$(echo "set heading off set feedback off set pagesize 0 diff --git a/org.adempiere.server-feature/utils.unix/postgresql/MonitoredSyncDB.sh b/org.adempiere.server-feature/utils.unix/postgresql/MonitoredSyncDB.sh index 73a628ee34..9ac49fba66 100755 --- a/org.adempiere.server-feature/utils.unix/postgresql/MonitoredSyncDB.sh +++ b/org.adempiere.server-feature/utils.unix/postgresql/MonitoredSyncDB.sh @@ -174,7 +174,7 @@ process_fix() notify_error() { echo -e "$MSGERROR" - printf '\n%s\n' "Errors were found during the process (see message above) - please inform and integrate a fix to restart this process again" + printf '\n%s\n%s\n' "Error=true" "Errors were found during the process (see message above) - please inform and integrate a fix to restart this process again" SUPPORTEMAIL=$($SILENTCMD -c "select supportemail from ad_system" | sed -e 's/ //g') SENDMAIL=$(command -v sendmail) FROM="$(whoami)@$(hostname)"