aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account')
-rw-r--r--commands/account/mkdir.go2
-rw-r--r--commands/account/rmdir.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/commands/account/mkdir.go b/commands/account/mkdir.go
index 4352a420..d3a62269 100644
--- a/commands/account/mkdir.go
+++ b/commands/account/mkdir.go
@@ -40,7 +40,7 @@ func (MakeDir) Execute(aerc *widgets.Aerc, args []string) error {
aerc.PushStatus("Directory created.", 10*time.Second)
acct.Directories().Select(name)
case *types.Error:
- aerc.PushError(" " + msg.Error.Error())
+ aerc.PushError(msg.Error.Error())
}
})
return nil
diff --git a/commands/account/rmdir.go b/commands/account/rmdir.go
index ed24ca50..9cd974ff 100644
--- a/commands/account/rmdir.go
+++ b/commands/account/rmdir.go
@@ -86,7 +86,7 @@ func (RemoveDir) Execute(aerc *widgets.Aerc, args []string) error {
case *types.Done:
aerc.PushStatus("Directory removed.", 10*time.Second)
case *types.Error:
- aerc.PushError(" " + msg.Error.Error())
+ aerc.PushError(msg.Error.Error())
case *types.Unsupported:
aerc.PushError(":rmdir is not supported by the backend.")
}