Skip to content

Commit eac8d8a

Browse files
authored
dsync: fix -L,--dereference option ignored (#625)
This commit fixes dsync ignoring -L,--dereference option because of a missing break in the case statement, causing walk/copy options to be overwritten by -P,--no-dereference values. Signed-off-by: Rémi Palancher <[email protected]>
1 parent 9d463ca commit eac8d8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/dsync/dsync.c

+1
Original file line numberDiff line numberDiff line change
@@ -3171,6 +3171,7 @@ int main(int argc, char **argv)
31713171
copy_opts->dereference = 1;
31723172
walk_opts->dereference = 1;
31733173
copy_opts->no_dereference = 0;
3174+
break;
31743175
case 'P':
31753176
/* turn on no_dereference.
31763177
* turn off dereference */

0 commit comments

Comments
 (0)