fix build on OpenBSD

This commit is contained in:
George
2025-07-23 16:11:57 -03:00
committed by fiatjaf_
parent 87bf5ef446
commit a698c59b0b
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build !windows
//go:build !windows && !openbsd
package main
+3 -3
View File
@@ -1,4 +1,4 @@
//go:build windows
//go:build windows || openbsd
package main
@@ -12,9 +12,9 @@ import (
var fsCmd = &cli.Command{
Name: "fs",
Usage: "mount a FUSE filesystem that exposes Nostr events as files.",
Description: `doesn't work on Windows.`,
Description: `doesn't work on Windows and OpenBSD.`,
DisableSliceFlagSeparator: true,
Action: func(ctx context.Context, c *cli.Command) error {
return fmt.Errorf("this doesn't work on Windows.")
return fmt.Errorf("this doesn't work on Windows and OpenBSD.")
},
}