lib/repo: Restore tmpdir reusing out parameter
This got lost in d0b0578 and now the caller always thinks it got a new
tmpdir.
Closes: #1346
Approved by: cgwalters
This commit is contained in:
parent
c60f319629
commit
f246287010
|
|
@ -4980,6 +4980,7 @@ _ostree_repo_allocate_tmpdir (int tmpdir_dfd,
|
|||
|
||||
/* We found an existing tmpdir which we managed to lock */
|
||||
g_debug ("Reusing tmpdir %s", dent->d_name);
|
||||
reusing_dir = TRUE;
|
||||
ret_tmpdir.src_dfd = tmpdir_dfd;
|
||||
ret_tmpdir.fd = glnx_steal_fd (&target_dfd);
|
||||
ret_tmpdir.path = g_strdup (dent->d_name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue