From: jkaeber Date: Wed, 5 Mar 2008 08:38:34 +0000 (+0000) Subject: No longer throw an exception on deleting the pidFile X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=5924d77edecbcaff60821afb9fd13169b0a2e2ec;p=senf.git No longer throw an exception on deleting the pidFile git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@730 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Utils/Daemon/Daemon.cc b/Utils/Daemon/Daemon.cc index c60939a..28d8a0c 100644 --- a/Utils/Daemon/Daemon.cc +++ b/Utils/Daemon/Daemon.cc @@ -59,7 +59,7 @@ prefix_ senf::Daemon::~Daemon() LIBC_CALL( ::unlink, (pidfile_.c_str()) ); } catch (SystemException e) { e << "; could not unlink " << pidfile_.c_str(); - throw; + // throw; } } } @@ -323,7 +323,7 @@ prefix_ bool senf::Daemon::pidfileCreate() // was some race condition, probably over NFS. 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];