aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/tftpd/log/run
diff options
context:
space:
mode:
Diffstat (limited to 'examples/var_service/tftpd/log/run')
-rwxr-xr-xexamples/var_service/tftpd/log/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/var_service/tftpd/log/run b/examples/var_service/tftpd/log/run
index 560d1b19f..69d74b73f 100755
--- a/examples/var_service/tftpd/log/run
+++ b/examples/var_service/tftpd/log/run
@@ -6,7 +6,7 @@ logdir="/var/log/service/`(cd ..;basename $PWD)`"
mkdir -p "$logdir" 2>/dev/null
chown -R "$user": "$logdir"
chmod -R go-rwxst,u+rwX "$logdir"
-rm logdir
+rm -rf logdir
ln -s "$logdir" logdir
# make this dir accessible to logger