mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-26 22:24:58 +08:00
improve error message on editor error
This commit is contained in:
parent
33a796548f
commit
b9e1d955b6
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ func rename(args []string) error {
|
|||
cmd.Stdout = tty.Output()
|
||||
cmd.Stderr = tty.Output()
|
||||
if err := cmd.Run(); err != nil {
|
||||
return err
|
||||
return fmt.Errorf("abort renames: %s", err)
|
||||
}
|
||||
if err := f.Close(); err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue