mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 09:04:52 +01:00
cmd/ncdu: fix add keybinding to rescan filesystem
This commit is contained in:
parent
a603efeaf4
commit
11eeaaf792
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user