mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-08 16:48:51 +00:00
fix build on OpenBSD
This commit is contained in:
2
fs.go
2
fs.go
@@ -1,4 +1,4 @@
|
|||||||
//go:build !windows
|
//go:build !windows && !openbsd
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build windows
|
//go:build windows || openbsd
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
@@ -12,9 +12,9 @@ import (
|
|||||||
var fsCmd = &cli.Command{
|
var fsCmd = &cli.Command{
|
||||||
Name: "fs",
|
Name: "fs",
|
||||||
Usage: "mount a FUSE filesystem that exposes Nostr events as files.",
|
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,
|
DisableSliceFlagSeparator: true,
|
||||||
Action: func(ctx context.Context, c *cli.Command) error {
|
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.")
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user