X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FDaemon%2FDaemon.cc;h=152186768576eec4327ae0403a2d17d48fdb47b4;hb=a66bffcc77f006b22190e1c27cbe0cd75fc4501c;hp=28d8a0c8437d6567eb79eb2f0a5e0673aac857a5;hpb=5924d77edecbcaff60821afb9fd13169b0a2e2ec;p=senf.git diff --git a/Utils/Daemon/Daemon.cc b/Utils/Daemon/Daemon.cc index 28d8a0c..1521867 100644 --- a/Utils/Daemon/Daemon.cc +++ b/Utils/Daemon/Daemon.cc @@ -57,8 +57,8 @@ prefix_ senf::Daemon::~Daemon() if (! pidfile_.empty()) { try { LIBC_CALL( ::unlink, (pidfile_.c_str()) ); - } catch (SystemException e) { - e << "; could not unlink " << pidfile_.c_str(); + } catch (Exception e) { + // e << "; could not unlink " << pidfile_.c_str(); // 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];