diff --git a/src/tm_mad/common/delete b/src/tm_mad/common/delete index 9ae6e42f29..e2dd4bb636 100755 --- a/src/tm_mad/common/delete +++ b/src/tm_mad/common/delete @@ -36,16 +36,12 @@ fi . $TMCOMMON #------------------------------------------------------------------------------- -# Return if deleting a disk, we will delete them when removing the +# Return if deleting a disk, we will delete them when removing the # remote_system_ds directory for the VM (remotely) #------------------------------------------------------------------------------- DST_PATH=`arg_path $DST` DST_HOST=`arg_host $DST` -if [ `is_disk $DST_PATH` -eq 1 ]; then - exit 0 -fi - log "Deleting $DST_PATH" ssh_exec_and_log $DST_HOST "rm -rf $DST_PATH" "Error deleting $DST_PATH" diff --git a/src/tm_mad/iscsi/delete b/src/tm_mad/iscsi/delete index 0f068deb11..4964af081e 100755 --- a/src/tm_mad/iscsi/delete +++ b/src/tm_mad/iscsi/delete @@ -124,6 +124,9 @@ DELETE_CMD=$(cat <