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