Browse Source

skip other OS

pull/2670/head
chrislu 3 years ago
parent
commit
05724a68d4
  1. 15
      weed/command/mount2_notsupported.go

15
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
}
Loading…
Cancel
Save