diff --git a/glnx-fdio.c b/glnx-fdio.c index b8ed0a593861bb70c29a711719d887faaa38daf9..ac62a5eed002da6c1cb892bdced87b363fb85e12 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) {