A script must decide from the exit status, not from the printed text.
| Status | Meaning |
|---|---|
0 |
Done. |
1 |
Failed: the page could not do it, or the console answered with an error. |
2 |
Usage: unknown command or option, missing argument, value of the wrong kind. |
3 |
Refused by the page: the fields it names are wrong. The command names them by their option and reports the page’s messages. |
4 |
Not found: no record by that name. |
5 |
Unauthorized: you are not root. |
6 |
Not confirmed: no --yes without a terminal, a negative answer, no answer in time. |
7 |
The console does not answer: check that atlas.service is running. |