aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index f4050d3a59..2c8dfae2f3 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -3397,7 +3397,10 @@ tor_free_all(int postfork)
}
}
-/** Remove the specified file. */
+/**
+ * Remove the specified file, and log a warning if the operation fails for
+ * any reason other than the file not existing.
+ */
void
tor_remove_file(const char *filename)
{