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.