mirror of https://github.com/curusarn/resh
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
373 B
17 lines
373 B
package status
|
|
|
|
// Code - exit code of the resh-control command
|
|
type Code int
|
|
|
|
const (
|
|
// DefaultInvalid exit code
|
|
DefaultInvalid Code = -1
|
|
// Success exit code
|
|
Success = 0
|
|
// Fail exit code
|
|
Fail = 1
|
|
// EnableAll exit code - tells reshctl() wrapper to enable_all
|
|
EnableAll = 100
|
|
// DisableAll exit code - tells reshctl() wrapper to disable_all
|
|
DisableAll = 110
|
|
)
|
|
|