From f60cd9e4efc2a23b401b4ab5cf0ef651239fc808 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Fri, 17 May 2024 12:26:03 +0200 Subject: [PATCH] Again: improved ISMAS messages. --- UpdatePTUDevCtrl/worker.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/UpdatePTUDevCtrl/worker.cpp b/UpdatePTUDevCtrl/worker.cpp index 890deac..21a2673 100644 --- a/UpdatePTUDevCtrl/worker.cpp +++ b/UpdatePTUDevCtrl/worker.cpp @@ -1067,6 +1067,16 @@ bool Worker::syncCustomerRepositoryAndFS() { error = true; } } + if (!error) { + lst.clear(); + lst << QString("SUCCESS %1").arg(cmd); + ISMAS(lst) << (CONSOLE(lst) << UPDATE_STEP::SYNC_CUSTOMER_REPOSITORY); + } else { + msg = QString("FAILURE %1").arg(cmd); + lst << msg; + QStringList lst2(msg); + ISMAS(lst2) << (CONSOLE(lst2) << UPDATE_STEP::SYNC_CUSTOMER_REPOSITORY); + } } if (!error) { // now check tariff-files in etc and /etc/psa_tariff