mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-03-15 21:42:49 +01:00
size
This commit is contained in:
@@ -2175,7 +2175,7 @@ std::string slsDetectorCommand::cmdAcquire(int narg, const char * const args[],
|
||||
if (action == HELP_ACTION) {
|
||||
return helpAcquire(HELP_ACTION);
|
||||
}
|
||||
if (!myDet->getNumberOfDetectors()) {
|
||||
if (!myDet->size()) {
|
||||
FILE_LOG(logERROR) << "This shared memory has no detectors added. Aborting.";
|
||||
return std::string("acquire failed");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user