aboutsummaryrefslogtreecommitdiff
path: root/pkg/sysinfo/sysinfo_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sysinfo/sysinfo_unix.go')
-rw-r--r--pkg/sysinfo/sysinfo_unix.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/sysinfo/sysinfo_unix.go b/pkg/sysinfo/sysinfo_unix.go
new file mode 100644
index 000000000..45f3ef1c6
--- /dev/null
+++ b/pkg/sysinfo/sysinfo_unix.go
@@ -0,0 +1,9 @@
+// +build !linux,!solaris,!windows
+
+package sysinfo
+
+// New returns an empty SysInfo for non linux nor solaris for now.
+func New(quiet bool) *SysInfo {
+ sysInfo := &SysInfo{}
+ return sysInfo
+}