core: no need to use unlink_noerrno()
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user