File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3096,6 +3096,7 @@ _writeingestlog "operating_system_VERSION" "$(uname -v)"
30963096_writeingestlog " vrecord version" " ${VERSION} "
30973097_writeingestlog " datetime_start" " $( _get_iso8601) "
30983098
3099+ if [[ -d " ${DIR} " ]] ; then
30993100MOUNT_PATH=" $( df -Ph " ${DIR} " 2> /dev/null | tail -n 1 | awk ' {print $6}' ) "
31003101if [[ " ${OS_TYPE} " = " macOS" ]] ; then
31013102 VOLUME_INFO=" $( diskutil info " ${MOUNT_PATH} " ) "
@@ -3113,6 +3114,7 @@ if [[ "${OS_TYPE}" = "macOS" ]] ; then
31133114 _writeingestlog " capture_device_volume_available" " $( _parse_report " Volume Available Space" " ${VOLUME_INFO} " ) "
31143115 _writeingestlog " capture_device_volume_total" " $( _parse_report " Volume Total Space" " ${VOLUME_INFO} " ) "
31153116fi
3117+ fi
31163118
31173119_writeingestlog " FILE_PATH" " ${VRECORD_OUTPUT} "
31183120
You can’t perform that action at this time.
0 commit comments