mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 07:29:35 +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 {
|
if cancel := u.cancel; cancel != nil {
|
||||||
cancel()
|
cancel()
|
||||||
}
|
}
|
||||||
|
u.listing = true
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
ctx, u.cancel = context.WithCancel(ctx)
|
ctx, u.cancel = context.WithCancel(ctx)
|
||||||
return scan.Scan(ctx, u.f)
|
return scan.Scan(ctx, u.f)
|
||||||
|
Loading…
Reference in New Issue
Block a user