fdio: Add missing return in tmpfile error case

Just noticed this while reading the code.
This commit is contained in:
Colin Walters
2017-05-17 16:57:54 -04:00
parent 9929adcd99
commit 4fbd48fb88

View File

@@ -314,6 +314,7 @@ glnx_link_tmpfile_at (GLnxTmpfile *tmpf,
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_EXISTS,
"Exhausted %u attempts to create temporary file", count);
return FALSE;
}
if (renameat (target_dfd, tmpname_buf, target_dfd, target) < 0)
{