Permalink
Browse files

Put dirs in "" when doing ZFS cleanup

  • Loading branch information...
1 parent 5c2bd8c commit 99cd02cfcbe1dbbd6060cf40c1578613b721f47d @kmoore134 kmoore134 committed Nov 2, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src-sh/pbi-manager10/pbi-manager
@@ -5861,7 +5861,7 @@ check_zfs_ab_destroy()
sync
sleep 3
zfs destroy -r ${zDir}
- rmdir ${zDir} >/dev/null 2>/dev/null
+ rmdir "${zDir}" >/dev/null 2>/dev/null
fi
fi
}
@@ -7003,7 +7003,7 @@ chroot_make_cleanup() {
# 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}
- rmdir ${PBI_CHROOTDIR} >/dev/null 2>/dev/null
+ rmdir "${PBI_CHROOTDIR}" >/dev/null 2>/dev/null
fi
return
fi

0 comments on commit 99cd02c

Please sign in to comment.