aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librc.c b/src/librc.c
index e3e1a3e3..002ab6cd 100644
--- a/src/librc.c
+++ b/src/librc.c
@@ -468,11 +468,9 @@ static pid_t _exec_service (const char *service, const char *arg)
}
if ((pid = vfork ()) == 0) {
- int e = 0;
execl (file, file, arg, (char *) NULL);
- e = errno;
- unlink (fifo);
eerror ("unable to exec `%s': %s", file, strerror (errno));
+ unlink (fifo);
_exit (EXIT_FAILURE);
}