aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/xshttpd-devel/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/xshttpd-devel/pkg-plist b/www/xshttpd-devel/pkg-plist
index bb14a33cd46d..6e6d571cbe47 100644
--- a/www/xshttpd-devel/pkg-plist
+++ b/www/xshttpd-devel/pkg-plist
@@ -98,5 +98,5 @@ man/man7/httpd_ssi.7.gz
@dirrmtry %%ETCDIR%%
@dirrmtry libexec/xshttpd
@cwd /
-@unexec rmdir var/log/xshttpd var/db/xshttpd/sessions var/db/xshttpd 2>/dev/null || true
+@unexec rm -d var/log/xshttpd var/db/xshttpd/sessions var/db/xshttpd 2>/dev/null || true
@exec mkdir -p var/log/xshttpd var/db/xshttpd/sessions