comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2569 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
0998a64fb9
commit
d20c0c34f5
|
@ -1575,7 +1575,7 @@ int write_file(const char *name, bool tmp, int append, bool
|
||||||
/* Set the umask back to the user's original value. */
|
/* Set the umask back to the user's original value. */
|
||||||
umask(original_umask);
|
umask(original_umask);
|
||||||
|
|
||||||
/* First, just give up if we couldn't even open the file. */
|
/* If we couldn't open the file, give up. */
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
statusbar(_("Error writing %s: %s"), realname, strerror(errno));
|
statusbar(_("Error writing %s: %s"), realname, strerror(errno));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue