aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-14 02:59:51 -0800
committerchrislu <chris.lu@gmail.com>2022-02-14 02:59:51 -0800
commit05724a68d4c598cdc02dca6f615a9bf70a8460e8 (patch)
treed3ab638f2f7b21bebb87c0eec17968aa71936cf8 /weed/command
parent4244ef8b72bf6d9ffb10cf1c802b1a4a58507702 (diff)
downloadseaweedfs-05724a68d4c598cdc02dca6f615a9bf70a8460e8.tar.xz
seaweedfs-05724a68d4c598cdc02dca6f615a9bf70a8460e8.zip
skip other OS
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/mount2_notsupported.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/weed/command/mount2_notsupported.go b/weed/command/mount2_notsupported.go
new file mode 100644
index 000000000..18734035e
--- /dev/null
+++ b/weed/command/mount2_notsupported.go
@@ -0,0 +1,15 @@
+//go:build !linux && !darwin && !freebsd
+// +build !linux,!darwin,!freebsd
+
+package command
+
+import (
+ "fmt"
+ "runtime"
+)
+
+func runMount2(cmd *Command, args []string) bool {
+ fmt.Printf("Mount is not supported on %s %s\n", runtime.GOOS, runtime.GOARCH)
+
+ return true
+}