Kaspersky Internet Security for Mac

Return codes of the command line

The general codes may be returned by any command from the command line. The return codes include general codes as well as codes specific to a certain task.

Syntax of the command for receiving the return code:

echo $?

General return codes:

  • 0 – Operation completed successfully
  • 1 – Invalid parameter value
  • 2 – Unknown error
  • 3 – Task completion error
  • 4 – Task canceled

Virus scan task return codes:

  • 101 – All malicious objects processed
  • 102 – Malicious objects detected