mirror of
https://github.com/depp/syncfiles.git
synced 2024-06-14 11:29:28 +00:00
Don't print progress when -quiet is specified
GitOrigin-RevId: de4cedd537717df4b68e18c2027f3ecad218cbbc
This commit is contained in:
parent
a85d31c36a
commit
d74cfbf9b1
4
sync.c
4
sync.c
|
@ -336,7 +336,9 @@ static int command_main(char *localPath, char *remotePath, int mode) {
|
|||
for (i = 0; i < n; i++) {
|
||||
file = &array[i];
|
||||
p2cstr(name, file->name);
|
||||
fprintf(stderr, "## %s: %s\n", kActionName[file->action], name);
|
||||
if (gLogLevel >= kLogInfo) {
|
||||
fprintf(stderr, "## %s: %s\n", kActionName[file->action], name);
|
||||
}
|
||||
r = sync_file(&array[i], func, srcVol, srcDir, destVol, destDir,
|
||||
tempVol, tempDir);
|
||||
if (r != 0) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user