opnsense-ports/devel/prototool/files/patch-internal_cmd_cmd.go
Franco Fichtner b03521a928 */*: sync with upstream
Taken from: HardenedBSD
2019-11-03 12:55:06 +01:00

11 lines
367 B
Go

--- internal/cmd/cmd.go.orig 2019-11-02 05:10:13 UTC
+++ internal/cmd/cmd.go
@@ -139,7 +139,7 @@ func getRootCommand(develMode bool, exitCodeAddr *int,
func checkOS() error {
switch runtime.GOOS {
- case "darwin", "linux":
+ case "darwin", "linux", "freebsd":
return nil
default:
return fmt.Errorf("%s is not a supported operating system", runtime.GOOS)