bisync: change exit code from 2 to 7 for critically aborted run

This commit is contained in:
albertony
2024-01-27 20:44:12 +01:00
parent a849fd59f0
commit 3dec664a19
3 changed files with 8 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ import (
"github.com/rclone/rclone/lib/terminal"
)
// ErrBisyncAborted signals that bisync is aborted and forces exit code 2
// ErrBisyncAborted signals that bisync is aborted and forces non-zero exit code
var ErrBisyncAborted = errors.New("bisync aborted")
// bisyncRun keeps bisync runtime state