mirror of git://git.sv.gnu.org/nano.git
simplify
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3943 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
b24cb0cd19
commit
b31b128a78
|
@ -1886,9 +1886,8 @@ int do_writeout(bool exiting)
|
|||
* an existing file. In this case, show a "File
|
||||
* exists" error. */
|
||||
if (ISSET(RESTRICTED)) {
|
||||
errno = EEXIST;
|
||||
statusbar(_("Error writing %s: %s"), answer,
|
||||
strerror(errno));
|
||||
strerror(EEXIST));
|
||||
retval = -1;
|
||||
break;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue