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,8 +130,10 @@ int main(int argc, char *argv[]) {
|
||||
if (!QDir(plugInDir).exists()) {
|
||||
qCritical() << plugInDir
|
||||
<< "does not exists, but has to contain dc-library";
|
||||
if (noUpdatePsaHardware == false) {
|
||||
exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
// before loading the library, delete all possible shared memory segments
|
||||
#if defined Q_OS_LINUX || defined Q_OS_UNIX
|
||||
|
Loading…
Reference in New Issue
Block a user