Made TODO more apparent

This commit is contained in:
Lee Ockert
2022-07-19 03:56:41 -04:00
parent 636cd274db
commit 56b6d79d54

View File

@ -55,7 +55,9 @@ if [[ $? -eq 0 ]]; then
MOUNTPOINT=`diskutil info ${1} | grep "Mount Point:" | sed 's/^ *Mount Point: *\(.*\)$/\1/'` MOUNTPOINT=`diskutil info ${1} | grep "Mount Point:" | sed 's/^ *Mount Point: *\(.*\)$/\1/'`
if [ "${MOUNTPOINT}" == "" ]; then if [ "${MOUNTPOINT}" == "" ]; then
dispusage "No mount point for specified device ${1}. Perhaps it isn't mounted?" && exit dispusage "No mount point for specified device ${1}. Perhaps it isn't mounted?" && exit
# TODO: Should check to see if it CONTAINS any disks with a Time Machine role... ######################################################################################
## TODO: Should check to see if it CONTAINS any disks with a Time Machine role... ##
######################################################################################
fi fi
if [ ! -d "${MOUNTPOINT}/Backups.backupdb/" ]; then if [ ! -d "${MOUNTPOINT}/Backups.backupdb/" ]; then