mirror of
https://github.com/depp/syncfiles.git
synced 2024-11-19 14:31:05 +00:00
Fix volume for temporary files
GitOrigin-RevId: cde5591cac6bb2060fb277c9400989252120e8a1
This commit is contained in:
parent
94e38f1274
commit
fbe60364fe
2
sync.c
2
sync.c
@ -732,7 +732,7 @@ static int command_main(char *destpath, int mode) {
|
||||
file->meta[kSrcDir].modTime);
|
||||
} else {
|
||||
if (tempDir == 0) {
|
||||
err = FindFolder(destVol, kTemporaryFolderType, TRUE,
|
||||
err = FindFolder(srcVol, kTemporaryFolderType, TRUE,
|
||||
&tempVol, &tempDir);
|
||||
if (err != 0) {
|
||||
print_errcode(err, "could not find temporary folder");
|
||||
|
Loading…
Reference in New Issue
Block a user