"zpool list -P" error on FreeBSD

The fix introduced in #40900 unfortunately caused the exact same problem for FreeBSD. I guess Centos uses uppercase P while FreeBSD uses lowercase. I don't use ZFS on the host I use for Virtualmin, but came across the error while looking at miniserv.error for something unrelated.

Output from FreeBSD 11 (also tested on FreeNAS 9.10):

zpool list -P
invalid option 'P'
zpool list -p
no pools available
zpool list -p
NAME           SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
freenas-boot  17045651456  680489472  16365161984         -      -      3  1.00x  ONLINE  -
Status: 
Closed (fixed)

Comments

Thanks - I will have Virtualmin / Webmin try both flags in future.

Status: Active » Fixed