Check if it has to be possible to update hardware (JSONs, DC). If yes, then exit().
This commit is contained in:
parent
e5ab9b98cd
commit
63dc70dda9
@ -130,7 +130,9 @@ int main(int argc, char *argv[]) {
|
|||||||
if (!QDir(plugInDir).exists()) {
|
if (!QDir(plugInDir).exists()) {
|
||||||
qCritical() << plugInDir
|
qCritical() << plugInDir
|
||||||
<< "does not exists, but has to contain dc-library";
|
<< "does not exists, but has to contain dc-library";
|
||||||
exit(-1);
|
if (noUpdatePsaHardware == false) {
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// before loading the library, delete all possible shared memory segments
|
// before loading the library, delete all possible shared memory segments
|
||||||
|
Loading…
Reference in New Issue
Block a user