mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
9 lines
177 B
Bash
9 lines
177 B
Bash
#!/bin/sh
|
|
|
|
output=$(clamscan -i --no-summary $1 2> /dev/null)
|
|
rm -f $1
|
|
if echo "$output" | grep -q ".* FOUND$" ; then
|
|
echo "0 clamscan: $output"
|
|
else
|
|
echo "1 clamscan: ok"
|
|
fi
|