2 ms·
The Linux Standard Base (LSB) specification specifies this meaning of 2 for init scripts, and systemd interprets daemon exit codes in accordance with LSB. From
by LukeShu 5y ago
The Linux Standard Base (LSB) specification specifies this meaning of 2 for init scripts, and systemd interprets daemon exit codes in accordance with LSB. From there, this meaning of 2 has spread to other types of programs and is quite common, but still far from ubiquitous.
https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LS...