1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

unposted: tweak to check for openzfs rather than Solaris

This commit is contained in:
Oliver Kiddle 2019-10-29 15:53:04 +01:00
parent 5cf1d6dfd1
commit 248ae0b77e
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2019-10-29 Oliver Kiddle <okiddle@yahoo.co.uk>
* unposted: Completion/Unix/Command/_zfs: tweak to check for
openzfs rather than Solaris
* github #40: Teddy Heinen: Completion/Unix/Command/_zfs:
adjust zfs completion to use acltype on linux instead of aclmode
2019-10-28 Peter Stephenson <p.stephenson@samsung.com>
* 44864: Src/jobs.c: Avoid infinite loop in interactive mode

View file

@ -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)")