summaryrefslogtreecommitdiff
path: root/glnx-fdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'glnx-fdio.c')
-rw-r--r--glnx-fdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/glnx-fdio.c b/glnx-fdio.c
index b8ed0a5..ac62a5e 100644
--- a/glnx-fdio.c
+++ b/glnx-fdio.c
@@ -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)
{