Table of Contents

Exit current shell or script

Synopsis

  exit [<status>]

Examples

Exit the shell

  exit

Exit the current script successfully

  exit 0

Exit the current script with an error

  exit 1

Description

Exit the iPXE shell, or the currently running script. If a status is explicitly specified, then this status will be returned to the caller of the script.

See also