diff options
author | szaimen <szaimen@e.mail.de> | 2021-04-29 20:50:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 20:50:41 +0300 |
commit | cc8b50c6f28187a3aa544d19b2ca50c207a2b21b (patch) | |
tree | 7802b4627f5f4bcea0b708bb4053117f581d88ae /apps/clamav.sh | |
parent | 5b81c9310174020751f109e84553b74128e08265 (diff) |
allow btrfs backup drives (#1933)
Diffstat (limited to 'apps/clamav.sh')
-rw-r--r-- | apps/clamav.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/clamav.sh b/apps/clamav.sh index 98d9f274..1e1d1435 100644 --- a/apps/clamav.sh +++ b/apps/clamav.sh @@ -256,7 +256,7 @@ source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercont # Variables/arrays FULLSCAN_DONE="" -FIND_OPTS=(-maxdepth 30 -type f -not -path "/proc/*" -not -path "/sys/*" -not -path "/dev/*") +FIND_OPTS=(-maxdepth 30 -type f -not -path "/proc/*" -not -path "/sys/*" -not -path "/dev/*" -not -path "*/.snapshots/*") # Exit if clamscan is already running if pgrep clamscan &>/dev/null |