Skip to content
Snippets Groups Projects
Commit 1f19f79c authored by jkaeber's avatar jkaeber
Browse files

No longer throw an exception on deleting the pidFile

parent 756a0ed9
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ prefix_ senf::Daemon::~Daemon() ...@@ -59,7 +59,7 @@ prefix_ senf::Daemon::~Daemon()
LIBC_CALL( ::unlink, (pidfile_.c_str()) ); LIBC_CALL( ::unlink, (pidfile_.c_str()) );
} catch (SystemException e) { } catch (SystemException e) {
e << "; could not unlink " << pidfile_.c_str(); e << "; could not unlink " << pidfile_.c_str();
throw; // throw;
} }
} }
} }
...@@ -323,7 +323,7 @@ prefix_ bool senf::Daemon::pidfileCreate() ...@@ -323,7 +323,7 @@ prefix_ bool senf::Daemon::pidfileCreate()
// was some race condition, probably over NFS. // was some race condition, probably over NFS.
std::string tempname; std::string tempname;
boost::format linkErrorFormat("; could not link \"%1%\" to \"%2%\""); boost::format linkErrorFormat(" Could not link \"%1%\" to \"%2%\".");
{ {
char hostname[HOST_NAME_MAX+1]; char hostname[HOST_NAME_MAX+1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment