mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-21 17:07:47 +02:00
fix(zfs): skip zpool list when /dev/zfs unavailable in Linux (#2325)
Co-authored-by: henrygd <hank@henrygd.me>
This commit is contained in:
9
agent/zfs/zfs_nonlinux.go
Normal file
9
agent/zfs/zfs_nonlinux.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//go:build !linux
|
||||
|
||||
package zfs
|
||||
|
||||
// The /dev/zfs probe is Linux-specific. Other platforms detect availability
|
||||
// through the ZFS utilities themselves.
|
||||
func checkZfsDevice() error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user