diff --git a/cmd/bisync/cmd.go b/cmd/bisync/cmd.go index 6f7c8fc15..e1acc1118 100644 --- a/cmd/bisync/cmd.go +++ b/cmd/bisync/cmd.go @@ -128,7 +128,6 @@ var commandDefinition = &cobra.Command{ ctx := context.Background() opt := Opt opt.applyContext(ctx) - if tzLocal { TZ = time.Local } diff --git a/cmd/bisync/rc.go b/cmd/bisync/rc.go index 04f723f03..6989b6436 100644 --- a/cmd/bisync/rc.go +++ b/cmd/bisync/rc.go @@ -34,7 +34,7 @@ func rcBisync(ctx context.Context, in rc.Params) (out rc.Params, err error) { if maxDelete < 0 || maxDelete > 100 { return nil, rc.NewErrParamInvalid(errors.New("maxDelete must be a percentage between 0 and 100")) } - ci.MaxDelete = maxDelete + opt.MaxDelete = int(maxDelete) } else if rc.NotErrParamNotFound(err) { return nil, err }