Browse code

dsyncがrオプションを無視していた不具合を修正

Masanobu Yasui authored on 2012/09/04 18:32:42
Showing 1 changed files
... ...
@@ -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);