diff options
Diffstat (limited to 'commands/compose/attach.go')
-rw-r--r-- | commands/compose/attach.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/compose/attach.go b/commands/compose/attach.go index 148442b0..37f49dfa 100644 --- a/commands/compose/attach.go +++ b/commands/compose/attach.go @@ -34,13 +34,13 @@ func (Attach) Execute(aerc *widgets.Aerc, args []string) error { path, err := homedir.Expand(path) if err != nil { - aerc.PushError(" " + err.Error()) + aerc.PushError(err.Error()) return err } pathinfo, err := os.Stat(path) if err != nil { - aerc.PushError(" " + err.Error()) + aerc.PushError(err.Error()) return err } else if pathinfo.IsDir() { aerc.PushError("Attachment must be a file, not a directory") |