Operation
52
Avira AntiVir UNIX Server
Avira GmbH
Exit Codes
AntiVir command line scanner issues exit codes after operation. UNIX users can include
them in scripts.
--update
AntiVir performs an update, to keep the virus definition file
(VDF) and programs up to date.
-v
Performs an intensive scanning on all files and even issues
error messages. This option should be used in exceptional
cases only, as for example after a virus detection/removal.
--version
Shows AntiVir’s version.
--warnings-as-
alerts
Treats non-fatal situations as serious errors. Terminates the
program when getting warnings, with the same exit code as
the one issued for virus detection.
--with-<type>
Activates detection of unwanted programs, which are not
viruses.
<type>
can be
adspy
,
bdc
,
dial
,
game
,
heur-dblext
,
joke
,
pck
,
phish
or
spr
. You can use
this option more than once. The option
--alltypes
activates the detection of all types.
--without-<type>
Deactivates the detection of certain types of malware (see
above).
-z
Corresponds to
--scan-in-archive.
Please use
--scan-in-archive.
@<rspfile>
AntiVir reads parameters from "response file"
<rspfile>
. In
<rspfile>
every option must be on a
separate line. This allows you to save a combination of
parameters as a file for later use.
Option
Function
Exit Code
Meaning
0
Normal program termination: no virus/unwanted program, no
error.
1
Virus/ unwanted program detected in file or boot sector.
2
Virus/ unwanted program detected in memory.
3
Virus/unwanted program detected in file or boot sector, using
heuristics.
100
AntiVir displays only the help text.
101
Macro detected in a file (when
-dmse
option is used).
102
AntiVir does not start, because the parameter
-once
was used
and the program has already run that day.
200
Program aborted; not enough memory.
201
The specified response file was not found.