about summary refs log tree commit diff
path: root/Completion/Unix/Command/_zfs
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2019-10-29 15:53:04 +0100
committerOliver Kiddle <okiddle@yahoo.co.uk>2019-10-29 15:55:25 +0100
commit248ae0b77eaa416026ccd491d719d5ba543933a8 (patch)
treebfa28da0e8c5b1800438c3b82f2b434475a4cb61 /Completion/Unix/Command/_zfs
parent5cf1d6dfd149a83bd6c4418518dc9de430834b99 (diff)
downloadzsh-248ae0b77eaa416026ccd491d719d5ba543933a8.tar.gz
zsh-248ae0b77eaa416026ccd491d719d5ba543933a8.tar.xz
zsh-248ae0b77eaa416026ccd491d719d5ba543933a8.zip
unposted: tweak to check for openzfs rather than Solaris
Diffstat (limited to 'Completion/Unix/Command/_zfs')
-rw-r--r--Completion/Unix/Command/_zfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_zfs b/Completion/Unix/Command/_zfs
index c720cbf74..814358bc7 100644
--- a/Completion/Unix/Command/_zfs
+++ b/Completion/Unix/Command/_zfs
@@ -186,7 +186,7 @@ _zfs() {
 
 		if [[ "$OSTYPE" == "linux-gnu" ]]; then
 			rw_properties+=("acltype:value:(off noacl posixacl)")
-		elif [[ "$OSTYPE" == "solaris*" ]]; then
+		elif [[ "$implementation" == "solaris" ]]; then
 			rw_properties+=("aclmode:value:(discard mask passthrough)")
 		else
 			rw_properties+=("aclmode:value:(discard groupmask passthrough restricted)")