Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Put zfs destroy commands in quotes, to get oddly named ports, such as

something with a ++ in it
  • Loading branch information...
commit 50b9681c5862794cd27407a2dd7e4196da3dfe5d 1 parent 0297be2
@kmoore134 kmoore134 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src-sh/pbi-manager10/pbi-manager
View
4 src-sh/pbi-manager10/pbi-manager
@@ -5943,7 +5943,7 @@ check_zfs_ab_destroy()
umount -f ${PBI_CHROOTDIR}/dev >/dev/null 2>/dev/null
sync
sleep 3
- zfs destroy -r ${zDir}
+ zfs destroy -r "${zDir}"
rmdir "${zDir}" >/dev/null 2>/dev/null
fi
fi
@@ -7128,7 +7128,7 @@ chroot_make_cleanup() {
sleep 1
# If we are running as a result of pbi_autobuild, let it do the ZFS cleanup
if [ -z "${PBI_AB_TMPDIR}" ] ; then
- zfs destroy -r ${tank}${PBI_CHROOTDIR}
+ zfs destroy -r "${tank}${PBI_CHROOTDIR}"
rmdir "${PBI_CHROOTDIR}" >/dev/null 2>/dev/null
fi
return
Please sign in to comment.
Something went wrong with that request. Please try again.