fix(init.d/podkop): change rm command to remove only *.lst files in /tmp/podkop directory

This commit is contained in:
Nikita Skryabin
2025-02-18 10:05:34 +03:00
parent 6f997a6e73
commit ade2b844ec

View File

@@ -73,7 +73,7 @@ stop_service() {
remove_cron_job remove_cron_job
dnsmasq_rm dnsmasq_rm
rm -rf /tmp/podkop/* rm -rf /tmp/podkop/*.lst
log "Flush nft" log "Flush nft"
if nft list table inet PodkopTable >/dev/null 2>&1; then if nft list table inet PodkopTable >/dev/null 2>&1; then