Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
senf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wiback
senf
Commits
1f19f79c
Commit
1f19f79c
authored
17 years ago
by
jkaeber
Browse files
Options
Downloads
Patches
Plain Diff
No longer throw an exception on deleting the pidFile
parent
756a0ed9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Utils/Daemon/Daemon.cc
+2
-2
2 additions, 2 deletions
Utils/Daemon/Daemon.cc
with
2 additions
and
2 deletions
Utils/Daemon/Daemon.cc
+
2
−
2
View file @
1f19f79c
...
@@ -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
(
"
; c
ould not link
\"
%1%
\"
to
\"
%2%
\"
"
);
boost
::
format
linkErrorFormat
(
"
C
ould not link
\"
%1%
\"
to
\"
%2%
\"
.
"
);
{
{
char
hostname
[
HOST_NAME_MAX
+
1
];
char
hostname
[
HOST_NAME_MAX
+
1
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment