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.master
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…
Reference in New Issue