summaryrefslogtreecommitdiff
path: root/usr/src/cmd/zfs
diff options
context:
space:
mode:
authorlling <none@none>2006-07-14 12:18:36 -0700
committerlling <none@none>2006-07-14 12:18:36 -0700
commit16299908b1195d35a9e997e978ed2aa570faf096 (patch)
tree04a961b4c3a3c4b06662924418afdf6984c04315 /usr/src/cmd/zfs
parentd77e71494add1b039005a04bc34195b5cabdb4e9 (diff)
downloadillumos-joyent-16299908b1195d35a9e997e978ed2aa570faf096.tar.gz
6449033 PIT nightly fails due to the fix for 6436514
Diffstat (limited to 'usr/src/cmd/zfs')
-rw-r--r--usr/src/cmd/zfs/zfs_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/cmd/zfs/zfs_main.c b/usr/src/cmd/zfs/zfs_main.c
index d41d13a56e..ecffffe330 100644
--- a/usr/src/cmd/zfs/zfs_main.c
+++ b/usr/src/cmd/zfs/zfs_main.c
@@ -2195,7 +2195,7 @@ static int
share_or_mount(int type, int argc, char **argv)
{
int do_all = 0;
- int c, ret;
+ int c, ret = 0;
share_mount_cbdata_t cb = { 0 };
cb.cb_type = type;
@@ -2278,7 +2278,6 @@ share_or_mount(int type, int argc, char **argv)
entry.mnt_mountp);
}
- ret = 0;
} else {
zfs_handle_t *zhp;