Use temporary directory on correct volume

GitOrigin-RevId: eecf5d8df6a24aa2afa6fc115950b86235d06fb7
This commit is contained in:
Dietrich Epp 2021-03-16 12:40:06 -04:00
parent 28e378fffb
commit da5a06e76e
1 changed files with 1 additions and 1 deletions

2
sync.c
View File

@ -299,7 +299,7 @@ static int command_main(char *localPath, char *remotePath, int mode) {
}
func = mac_from_unix;
err =
FindFolder(srcVol, kTemporaryFolderType, true, &tempVol, &tempDir);
FindFolder(destVol, kTemporaryFolderType, true, &tempVol, &tempDir);
if (err != 0) {
print_errcode(err, "could not find temporary folder");
return 1;