diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-01 21:55:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-01 22:18:16 +0100 |
commit | fabab19068b6ccb894b0d2a6efbe0ad580771d05 (patch) | |
tree | 48d6c074ce6562e0fbf9c23f13f259265f033fc6 | |
parent | 36c16a7cdd6c33d7980efc2cd6a2211941f302b4 (diff) |
core: no need to use unlink_noerrno()
-rw-r--r-- | src/core/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c index edda02b8f3..a9345e38b9 100644 --- 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; |