diff options
Diffstat (limited to 'src/constants.go')
-rw-r--r-- | src/constants.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/constants.go b/src/constants.go index f5f8a939..980e1583 100644 --- a/src/constants.go +++ b/src/constants.go @@ -14,6 +14,7 @@ const ( // Reader readerBufferSize = 64 * 1024 + readerSlabSize = 128 * 1024 readerPollIntervalMin = 10 * time.Millisecond readerPollIntervalStep = 5 * time.Millisecond readerPollIntervalMax = 50 * time.Millisecond @@ -66,9 +67,9 @@ const ( ) const ( - exitCancel = -1 - exitOk = 0 - exitNoMatch = 1 - exitError = 2 - exitInterrupt = 130 + ExitOk = 0 + ExitNoMatch = 1 + ExitError = 2 + ExitBecome = 126 + ExitInterrupt = 130 ) |