diff options
-rw-r--r-- | etc/rc.d/jail | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/rc.d/jail b/etc/rc.d/jail index d3059a20..95837f2 100644 --- a/etc/rc.d/jail +++ b/etc/rc.d/jail @@ -138,14 +138,16 @@ jail_stop() for _jail in ${jail_list} do init_variables $_jail + if checkyesno jail_fdescfs; then + if [ -d ${jail_fdescdir} ] ; then + umount -f ${jail_fdescdir} >/dev/null 2>&1 + fi + fi if checkyesno jail_devfs; then if [ -d ${jail_devdir} ] ; then umount -f ${jail_devdir} >/dev/null 2>&1 fi fi - if checkyesno jail_fdescfs; then - umount -f ${jail_fdescdir} >/dev/null 2>&1 - fi if checkyesno jail_procfs; then if [ -d ${jail_procdir} ] ; then umount -f ${jail_procdir} >/dev/null 2>&1 |