g_file_set_contents(): fix simple logic error

CI FTW.
This commit is contained in:
Ryan Lortie 2013-06-03 17:59:29 -04:00
parent e40435e834
commit fc98c13fde

View File

@ -1122,7 +1122,7 @@ write_to_temp_file (const gchar *contents,
#endif
errno = 0;
if (g_close (fd, err))
if (!g_close (fd, err))
{
g_unlink (tmp_name);