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

cmd/exit.txt ยท Last modified: 2011/03/23 19:30 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL http://ipxe.org
References to "iPXE" may not be altered or removed.