Changeset 2567eba


Ignore:
Timestamp:
06/12/13 12:44:57 (17 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
9cc2f9c
Parents:
e6d4539
Message:

Display error if we fail to delete a jail template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/warden/scripts/backend/functions.sh

    rcee08ee r2567eba  
    10091009     tank=`getZFSTank "$tDir"` 
    10101010     rp=`getZFSRelativePath "$tDir"` 
    1011      zfs destroy -r $tank${rp} 
     1011     zfs destroy -r $tank${rp}  
     1012     if [ $? -ne 0 ] ; then 
     1013       exit_err "Could not remove template, perhaps you have jails still using it?" 
     1014     fi 
    10121015     rmdir ${tDir} 
    10131016   else 
Note: See TracChangeset for help on using the changeset viewer.