empty list of shmem regions if none found
This commit is contained in:
committed by
Patrick Niklaus
parent
730d2b5ef2
commit
e3b831364f
+1
-1
@@ -27,9 +27,9 @@ void deleteRegion(const storage::SharedRegionRegister::ShmKey key)
|
||||
|
||||
void listRegions()
|
||||
{
|
||||
osrm::util::Log() << "name\tshm key\ttimestamp\tsize";
|
||||
if (!storage::SharedMonitor<storage::SharedRegionRegister>::exists())
|
||||
{
|
||||
osrm::util::Log() << "No shared memory regions found. Try running osrm-datastore";
|
||||
return;
|
||||
}
|
||||
storage::SharedMonitor<storage::SharedRegionRegister> monitor;
|
||||
|
||||
Reference in New Issue
Block a user