Use temporary directory on correct volume
GitOrigin-RevId: eecf5d8df6a24aa2afa6fc115950b86235d06fb7
This commit is contained in:
parent
28e378fffb
commit
da5a06e76e
2
sync.c
2
sync.c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue