... | ... |
@@ -1012,6 +1012,10 @@ static int dsync_scan(int fd, char *base, int recurs, excludeitem *e) |
1012 | 1012 |
if(!loop_flag){ |
1013 | 1013 |
return(1); |
1014 | 1014 |
} |
1015 |
+ /*----- read only -----*/ |
|
1016 |
+ if(moption.dontrecv){ |
|
1017 |
+ return(0); |
|
1018 |
+ } |
|
1015 | 1019 |
/*----- exclude -----*/ |
1016 | 1020 |
if(isexclude(base, e, 0)){ |
1017 | 1021 |
return(0); |