From 50f786dda4ed6b6393c45a76fcca77f130810474 Mon Sep 17 00:00:00 2001 From: b068931cc450442b63f5b3d276ea4297 <77171083+b068931cc450442b63f5b3d276ea4297@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:33:59 +0100 Subject: [PATCH] remove suricata log files @uninstall --- uninstall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/uninstall.sh b/uninstall.sh index 4d662e8..0710a0a 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -26,6 +26,7 @@ delete_packages(){ read answer if [[ "$answer" =~ ^([yY][eE][sS]|[yY])$ ]] then + rm -rf /var/log/suricata for pkg in "${pkgs[@]}" do apt -y remove $pkg && apt -y purge $pkg