summaryrefslogtreecommitdiff
path: root/usr/src/lib/pyzfs
diff options
context:
space:
mode:
authorWilliam Gorrell <william.gorrell@sun.com>2009-09-15 08:42:53 -0600
committerWilliam Gorrell <william.gorrell@sun.com>2009-09-15 08:42:53 -0600
commit9d48f5d37dfc1f8378818cf3d2baa2ccf7990c38 (patch)
tree251c0947507fa0fab9176b7164edac9edd7c8660 /usr/src/lib/pyzfs
parent0e50326a4ce28578aae604a6b6d95bc7c4ce6540 (diff)
downloadillumos-joyent-9d48f5d37dfc1f8378818cf3d2baa2ccf7990c38.tar.gz
6840575 Incorrect message from zfs allow when dataset name is a snapshot
Diffstat (limited to 'usr/src/lib/pyzfs')
-rw-r--r--usr/src/lib/pyzfs/common/allow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/pyzfs/common/allow.py b/usr/src/lib/pyzfs/common/allow.py
index 092fac07ea..a5c012e338 100644
--- a/usr/src/lib/pyzfs/common/allow.py
+++ b/usr/src/lib/pyzfs/common/allow.py
@@ -322,7 +322,7 @@ def do_allow():
if sys.argv[2] == "-h":
# hack to make "zfs allow -h" work
usage()
- ds = zfs.dataset.Dataset(sys.argv[2])
+ ds = zfs.dataset.Dataset(sys.argv[2], snaps=False)
p = dict()
for (fs, raw) in ds.get_fsacl().items():