Skip to content

Commit

Permalink
fix malware scan arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Jul 29, 2024
1 parent 420fe5b commit 323988d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ java -version
if [[ "$MALWARE_SCAN" == "1" ]]; then
echo -e "${LOG_PREFIX} Scanning for malware... (This may take a while)"

java -jar /MCAntiMalware.jar --scanDirectory .
java -jar /MCAntiMalware.jar --scanDirectory . --singleScan true --disableAutoUpdate true

if [ $? -eq 0 ]; then
echo -e "${LOG_PREFIX} Malware scan has passed"
Expand Down

0 comments on commit 323988d

Please sign in to comment.