returnInitError(strprintf(_("Cannot obtain a lock on data directory %s. %s is probably already running.")+" %s.",strDataDir,_(PACKAGE_NAME),e.what()));
fs::pathdatadir=GetDataDir();
if(!LockDirectory(datadir,".lock",probeOnly)){
returnInitError(strprintf(_("Cannot obtain a lock on data directory %s. %s is probably already running."),datadir.string(),_(PACKAGE_NAME)));