cmount: Add optional brew tag to throw an error when using mount in the

binaries installed via Homebrew - Fixes #4775

Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
This commit is contained in:
Anagh Kumar Baranwal
2020-11-17 22:33:12 +05:30
committed by Nick Craig-Wood
parent 70e8b11805
commit 07dee18d6b
3 changed files with 34 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
// Build for cmount for unsupported platforms to stop go complaining
// about "no buildable Go source files "
// +build !linux,!darwin,!freebsd,!windows !cgo !cmount
// +build !linux,!darwin,!freebsd,!windows !brew !cgo !cmount
package cmount