mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 16:27:55 +08:00
skip other OS
This commit is contained in:
15
weed/command/mount2_notsupported.go
Normal file
15
weed/command/mount2_notsupported.go
Normal file
@@ -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
|
||||||
|
}
|
Reference in New Issue
Block a user