Skip to content

Commit

Permalink
implements #951
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM committed Mar 13, 2014
1 parent 720abbc commit 6b69d6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions datastore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ int main( const int argc, const char * argv[] ) {
LogPolicy::GetInstance().Unmute();
SharedBarriers barrier;

if (argc < 2)
{
SimpleLogger().Write(logWARNING) << "no parameters given. try\n\t" << argv[0] << " --help";
return -1;
}

#ifdef __linux__
if( -1 == mlockall(MCL_CURRENT | MCL_FUTURE) ) {
SimpleLogger().Write(logWARNING) <<
Expand Down

0 comments on commit 6b69d6d

Please sign in to comment.