From 1f19f79cae06e633fa1d6f1910806081a99c2775 Mon Sep 17 00:00:00 2001
From: jkaeber <jkaeber@wiback.org>
Date: Wed, 5 Mar 2008 08:38:34 +0000
Subject: [PATCH] No longer throw an exception on deleting the pidFile

---
 Utils/Daemon/Daemon.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Utils/Daemon/Daemon.cc b/Utils/Daemon/Daemon.cc
index c60939ab..28d8a0c8 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];
-- 
GitLab