Skip to content

Commit

Permalink
handle whitelisting .ldb files too
Browse files Browse the repository at this point in the history
  • Loading branch information
mnalis committed Mar 29, 2024
1 parent 775007c commit b05fa61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clamav-unofficial-sigs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ function add_signature_whitelist_entry() { #signature
else
position="2"
fi
sig_name="$(echo "$sig_full" | cut -d ":" -f $position | cut -d "=" -f 1)"
sig_name="$(echo "$sig_full" | cut -d ":" -f $position | cut -d ";" -f 1 | cut -d "=" -f 1)"
fi

if [ -n "$sig_name" ] ; then
Expand Down

0 comments on commit b05fa61

Please sign in to comment.