diff --git a/cmd/serve/webdav/webdav.go b/cmd/serve/webdav/webdav.go index cdec88b4b..e608ae6da 100644 --- a/cmd/serve/webdav/webdav.go +++ b/cmd/serve/webdav/webdav.go @@ -199,8 +199,6 @@ func newWebDAV(ctx context.Context, f fs.Fs, opt *Options) (w *WebDAV, err error router.Method(method, "/*", w) } - w.Server.Serve() - return w, nil }