docs(meta): Document exit codes
This commit is contained in:
parent
296dd39d2e
commit
be3b65f3a4
@ -19,8 +19,20 @@ import lxml.builder
|
||||
|
||||
|
||||
# Exit codes
|
||||
# 1: Config file invalid, it has no sections
|
||||
# 2: Config file invalid, sections must define at least CONST.CFG_MANDATORY
|
||||
# 1 : Config file invalid, it has no sections
|
||||
# 2 : Config file invalid, sections must define at least CONST.CFG_MANDATORY
|
||||
# 3 : Performing a firewalld rules check failed
|
||||
# 4 : Performing a firewalld rules encountered a FileNotFoundError
|
||||
# 5 : Unable to open firewalld direct rules file
|
||||
# 6 : Source and destination are identical when attempting to back up firewalld direct rules file
|
||||
# 7 : An option that must have a non-null value is either unset or null
|
||||
# 8 : Exception while adding a chain XML element to firewalld direct rules
|
||||
# 9 : Unable to open firewalld direct rules file for updating
|
||||
# 10: Unable to restart systemd firewalld.service unit
|
||||
# 11: Unable to add a <rule/> tag to firewalld
|
||||
# 12: Kernel sysfs export for network devices at "/sys/class/net" doesn't exist
|
||||
# 13: Linux find command exited non-zero trying to find a physical network device at "/sys/class/net"
|
||||
# 14: No physical network device found at "/sys/class/net"
|
||||
|
||||
|
||||
class CONST(object):
|
||||
|
Loading…
x
Reference in New Issue
Block a user