Skip to content

Commit 58deef8

Browse files
committed
fix starting of remote notifier
1 parent 168dd86 commit 58deef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sync.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func syncOnce(ctx context.Context) error {
118118
return err
119119
}
120120
dirCache = dircache.New(client, defaultTimeout, remoteFolderID)
121-
if cfg.Once {
121+
if !cfg.Once {
122122
notifier.SetToken(token)
123123
notifier.Start()
124124
}

0 commit comments

Comments
 (0)