7bb729e928
Rather than bifurcate the test completely, this lets us keep the test intact with a small function wrapper to allow the compiler to build the code that'll never be called on Windows, on Windows. Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
9 lines
189 B
Go
9 lines
189 B
Go
// +build !windows
|
|
|
|
package main
|
|
|
|
import "github.com/moby/sys/mount"
|
|
|
|
func mountWrapper(device, target, mType, options string) error {
|
|
return mount.Mount(device, target, mType, options)
|
|
}
|