317:7eea57f6d847 | 318:7e0694423838 |
---|---|
818 int ret = 0; | 818 int ret = 0; |
819 if(S_ISDIR(s.st_mode)) { | 819 if(S_ISDIR(s.st_mode)) { |
820 if(!recursive) { | 820 if(!recursive) { |
821 fprintf( | 821 fprintf( |
822 stderr, | 822 stderr, |
823 "%s is a directory.\nUse the -R option to upload directories.", | 823 "%s is a directory.\nUse the -R option to upload directories.\n", |
824 file); | 824 file); |
825 return 1; | 825 return 1; |
826 } | 826 } |
827 | 827 |
828 if(!root) { | 828 if(!root) { |