Skip to content

Commit

Permalink
Lock by default, set fail on error
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-j-h authored and TheMarex committed Oct 19, 2015
1 parent f7a1e2f commit 993321e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ int main(int argc, const char *argv[]) try
if (couldLock)
(void)munlockall();
}
bool shouldLock = false, couldLock = false;
bool shouldLock = false, couldLock = true;
} memoryLocker(lib_config.use_shared_memory);
#endif
SimpleLogger().Write() << "starting up engines, " << OSRM_VERSION;
Expand Down

0 comments on commit 993321e

Please sign in to comment.