AVG for Linux/FreeBSD scan return codes

FAQ » Technical FAQ » AVG 8.5 » AVG for Linux/FreeBSD » AVG for Linux/FreeBSD scan return codes

Print Copy link

If you need to work with the AVG for Linux/FreeBSD scan return codes, you can find all of them below:

  • 0 = everything is OK
  • 1 = user cancelled/interrupted scan
  • 2 = any error during the scan
  • 3 = any warning during the scan
  • 4 = potentially unwanted program (PUP) detected
  • 5 = virus detected
  • 6 = password-protected archive

To get the return code it is enough to run the avg scan and to use the following command after its completion:

# echo $?


Was this information helpful to you?
|

I want to know more: Read user guide