Fix logs symlink

replace "rm /etc/turtle/Responder/logs/*" with "rm -rf /etc/turtle/Responder/logs" on line 118 to fix symlink with /root/loot/#
pull/20/head
Darren Kitchen 2016-11-04 17:27:48 -07:00 committed by GitHub
parent 20cef3a7a1
commit dc97f6c965
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ cd /root/loot
dircount=$(ls -lad /root/loot/* | wc -l)
mkdir /root/loot/$((dircount))
# Delete all current Responder logs
rm /etc/turtle/Responder/logs/*
rm -rf /etc/turtle/Responder/logs
ln -s /root/loot/$((dircount)) /etc/turtle/Responder/logs
# Stop dnsmasq