Again: improved ISMAS messages.

This commit is contained in:
Gerhard Hoffmann 2024-05-17 12:26:03 +02:00
parent a9fb7a3630
commit f60cd9e4ef

View File

@ -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