Specifications
Version 2.0
131
exit
Summary
Exits the UEFI Shell or the current script.
Usage
exit [/b] [exit-code]
Options
/b
Indicates that only the current UEFI shell script should be terminated. Ignored if
not used within a script.
exit-code
If exiting a UEFI shell script, the value that will be placed into the environment
variable lasterror. If exiting an instance of the UEFI shell, the value that will be
returned to the caller. If not specified, then 0 will be returned.
Description
This command exits the UEFI Shell or, if /b is specified, the current script.
Status Codes Returned
0 Exited normally
exit-code The value specified as an option.










