diff options
| author | Michael Brown | 2010-11-22 21:20:33 +0100 |
|---|---|---|
| committer | Michael Brown | 2010-11-22 21:29:01 +0100 |
| commit | 84aa702ff8b66f883e9ac5792b26d4e9d0760573 (patch) | |
| tree | 5984913a1a1a773775adaf6ead880fefb46f3a72 /src/include/ipxe | |
| parent | [script] Implement "goto" in iPXE scripts (diff) | |
| download | ipxe-84aa702ff8b66f883e9ac5792b26d4e9d0760573.tar.gz ipxe-84aa702ff8b66f883e9ac5792b26d4e9d0760573.tar.xz ipxe-84aa702ff8b66f883e9ac5792b26d4e9d0760573.zip | |
[script] Allow "exit" to exit a script
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
| -rw-r--r-- | src/include/ipxe/command.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/command.h b/src/include/ipxe/command.h index a7d0ae462..2486e7aa2 100644 --- a/src/include/ipxe/command.h +++ b/src/include/ipxe/command.h @@ -23,4 +23,6 @@ struct command { #define __command __table_entry ( COMMANDS, 01 ) +extern int shell_exit; + #endif /* _IPXE_COMMAND_H */ |
