mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-28 20:02:36 -04:00
fdio: Add missing return in tmpfile error case
Just noticed this while reading the code.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user