aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account/rmdir.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/rmdir.go')
-rw-r--r--commands/account/rmdir.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/account/rmdir.go b/commands/account/rmdir.go
index 22e78a69..b08a2a1e 100644
--- a/commands/account/rmdir.go
+++ b/commands/account/rmdir.go
@@ -89,7 +89,7 @@ func (r RemoveDir) Execute(args []string) error {
return errors.New("No directory to move to afterwards!")
}
- reopenCurrentDir := func() { acct.Directories().Open(curDir, "", 0, nil) }
+ reopenCurrentDir := func() { acct.Directories().Open(curDir, "", 0, nil, false) }
acct.Directories().Open(newDir, "", 0, func(msg types.WorkerMessage) {
switch msg.(type) {
@@ -117,7 +117,7 @@ func (r RemoveDir) Execute(args []string) error {
reopenCurrentDir()
}
})
- })
+ }, false)
return nil
}