another indentation fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2011 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
@@ -1670,8 +1670,7 @@ int write_file(const char *name, int tmp, int append, int nonamechange)
|
|||||||
goto cleanup_and_exit;
|
goto cleanup_and_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (copy_file(f_source, f) == -1
|
if (copy_file(f_source, f) == -1 || unlink(tempname) == -1) {
|
||||||
|| unlink(tempname) == -1) {
|
|
||||||
statusbar(_("Error writing %s: %s"), realname, strerror(errno));
|
statusbar(_("Error writing %s: %s"), realname, strerror(errno));
|
||||||
goto cleanup_and_exit;
|
goto cleanup_and_exit;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user