From 1ecabe79ca2e5153823a137b578a7f0361217ee0 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 29 Jun 2023 13:36:56 +0200 Subject: [PATCH] fetch_customer_updates(): add debug output. check_for_running_apism(): use port 7777 instead of port 7778. --- update_psa_helpers | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update_psa_helpers b/update_psa_helpers index e0173fa..17ab937 100755 --- a/update_psa_helpers +++ b/update_psa_helpers @@ -24,9 +24,12 @@ exec_opkg_command () { # Fetch/merge updates from predefined repository using git. # fetch_customer_updates() { + local func="${FUNCNAME[0]}" if ! pull_customer_repository; then + log_warn "$func:${LINENO} NO pull_customer_repository" return 1 fi + log_debug "$func:${LINENO} pull_customer_repository SUCCESS" return 0 } @@ -375,7 +378,7 @@ cleanup_previous_version() { check_for_running_apism () { local func="${FUNCNAME[0]}" - if nc localhost 7778 + if nc localhost 7777 then APISM_RUNNING=1 log_info "$func:${LINENO}: APISM is running..."