1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-21 03:43:26 +00:00

cmd/ncdu: fix add keybinding to rescan filesystem

This commit is contained in:
eNV25
2023-08-30 15:29:46 +02:00
committed by GitHub
parent a603efeaf4
commit 11eeaaf792

View File

@@ -906,6 +906,7 @@ func (u *UI) scan() (chan *scan.Dir, chan error, chan struct{}) {
if cancel := u.cancel; cancel != nil {
cancel()
}
u.listing = true
ctx := context.Background()
ctx, u.cancel = context.WithCancel(ctx)
return scan.Scan(ctx, u.f)