diff --git a/weed/mount/unmount/unmount_std.go b/weed/mount/unmount/unmount_std.go index 76267fb6a..410eb1235 100644 --- a/weed/mount/unmount/unmount_std.go +++ b/weed/mount/unmount/unmount_std.go @@ -1,5 +1,5 @@ -//go:build !linux -// +build !linux +//go:build !linux && !windows +// +build !linux,!windows package unmount diff --git a/weed/mount/unmount/unmount_unsupported.go b/weed/mount/unmount/unmount_unsupported.go new file mode 100644 index 000000000..d0a94cc4a --- /dev/null +++ b/weed/mount/unmount/unmount_unsupported.go @@ -0,0 +1,8 @@ +//go:build windows +// +build windows + +package unmount + +func unmount(dir string) error { + return nil +}