summaryrefslogtreecommitdiff
path: root/socket_dummy.go
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2021-07-04 15:48:31 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2021-07-04 15:48:31 +0100
commit12482405856b9932efa2f91330fb7a8a2e4aa2d9 (patch)
tree9d97ce79a32721fabc84a99b3474d1926c8ee21f /socket_dummy.go
parent466216e4496ab3346a50353b522af141a37b6a32 (diff)
Return ErrNoSDSupport if using dummy codev0.2.0
Diffstat (limited to 'socket_dummy.go')
-rw-r--r--socket_dummy.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/socket_dummy.go b/socket_dummy.go
index 4311e6c..7b21c82 100644
--- a/socket_dummy.go
+++ b/socket_dummy.go
@@ -8,9 +8,9 @@ package gosdd
import "os"
func sdListenFDs(bool) ([]*os.File, error) {
- return nil, nil
+ return nil, ErrNoSDSupport
}
func sdListenFDsWithNames(bool) (map[string]*os.File, error) {
- return nil, nil
+ return nil, ErrNoSDSupport
}