skip other OS

This commit is contained in:
chrislu 2022-02-14 02:59:51 -08:00
parent 4244ef8b72
commit 05724a68d4

View 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
}