summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--socket_dummy.go2
-rw-r--r--socket_linux.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/socket_dummy.go b/socket_dummy.go
index 7b21c82..bf588ba 100644
--- a/socket_dummy.go
+++ b/socket_dummy.go
@@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: © 2021 Grégoire Duchêne <gduchene@awhk.org>
// SPDX-License-Identifier: ISC
-// +build !linux nosystemd
+//go:build !linux || nosystemd
package gosdd
diff --git a/socket_linux.go b/socket_linux.go
index cab9701..0c21186 100644
--- a/socket_linux.go
+++ b/socket_linux.go
@@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: © 2021 Grégoire Duchêne <gduchene@awhk.org>
// SPDX-License-Identifier: ISC
-// +build linux,!nosystemd
+//go:build linux && !nosystemd
package gosdd