summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/main.c b/accel-pppd/main.c
index b908fbc6..66737248 100644
--- a/accel-pppd/main.c
+++ b/accel-pppd/main.c
@@ -341,6 +341,9 @@ int main(int _argc, char **_argv)
triton_terminate();
+ if (pid_file)
+ unlink(pid_file);
+
return EXIT_SUCCESS;
usage: