mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-01 05:56:17 +03:00
tweaks: shorten an error message, to be appropriate in all situations
Saying "Cannot write backup %s" is misleading when it is the original file that cannot be reread.
This commit is contained in:
parent
8eddf7bc26
commit
4cefd699ca
@ -1718,7 +1718,8 @@ bool make_backup_of(char *realname)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
statusline(HUSH, _("Cannot write backup %s: %s"), backupname, strerror(errno));
|
||||
/* TRANSLATORS: The %s is the reason of failure. */
|
||||
statusline(HUSH, _("Cannot make backup: %s"), strerror(errno));
|
||||
free(backupname);
|
||||
return FALSE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user