DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

Exit codes for scripts

Each script must exit with one of the following exit codes:


0
Successful completion of script.

1
Fatal error. Installation process is terminated at this point.

2
Warning or possible error condition. Installation will continue. A warning message will be displayed at the time of completion.

3
Script was interrupted and possibly left unfinished. Installation terminates at this point.

10
System should be rebooted when installation of all selected packages is completed. (This value should be added to one of the single-digit exit codes described above.)

20
The system should be rebooted immediately upon completing installation of the current package. (This value should be added to one of the single-digit exit codes described above.)

See the case studies for examples of exit codes in installation scripts.


Next topic: The request script
Previous topic: Getting package information for a script

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004