diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | Completion/Unix/Command/_zfs | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 87adb1fe9..21812799a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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)") |