projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c16a7
)
core: no need to use unlink_noerrno()
author
Lennart Poettering
<lennart@poettering.net>
Mon, 1 Feb 2016 20:55:39 +0000
(21:55 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 1 Feb 2016 21:18:16 +0000
(22:18 +0100)
src/core/service.c
patch
|
blob
|
history
diff --git
a/src/core/service.c
b/src/core/service.c
index
edda02b
..
a9345e3
100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-1448,7
+1448,7
@@
static void service_enter_dead(Service *s, ServiceResult f, bool allow_restart)
* out-of-date, and some software might be confused by it, so
* let's remove it. */
if (s->pid_file)
-
unlink_noerrno
(s->pid_file);
+
(void) unlink
(s->pid_file);
return;