diff --git a/pkg/conf/conf.go b/pkg/conf/conf.go index 1a990d9..1b311ee 100644 --- a/pkg/conf/conf.go +++ b/pkg/conf/conf.go @@ -7,6 +7,7 @@ import ( "github.com/spf13/afero/rclonefs" "gopkg.in/go-playground/validator.v9" "path/filepath" + "runtime" "strings" ) @@ -181,6 +182,11 @@ func mapSection(section string, confStruct interface{}) error { func initRCloneBind(){ + if runtime.GOOS != "linux"{ + util.Log().Warning("RClone Bind Unsupported OS %s until tested", runtime.GOOS) + return + } + if RCloneConfig.Binds[0] == "UNSET"{ return }