Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Revert "Skip read-only folder"
Browse files Browse the repository at this point in the history
This reverts commit c612496.
  • Loading branch information
Zillode committed Apr 9, 2016
1 parent fb97843 commit 2452592
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions syncwatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,15 +319,6 @@ func restart() bool {

// filterFolders refines folders list using global vars watchFolders and skipFolders
func filterFolders(folders []FolderConfiguration) []FolderConfiguration {
var fs []FolderConfiguration
for _, f := range folders {
if f.ReadOnly {
Debug.Println("Skipping read-only folder " + f.ID)
continue
}
fs = append(fs, f)
}
folders = fs
if len(watchFolders) > 0 {
var fs []FolderConfiguration
for _, f := range folders {
Expand Down

0 comments on commit 2452592

Please sign in to comment.