Merge pull request #4244 from yubiuser/debug_shm

Make output of SHM dir human readable
This commit is contained in:
DL6ER 2021-07-28 06:20:31 +02:00 committed by GitHub
commit fba7517cc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1109,7 +1109,7 @@ list_files_in_dir() {
: :
elif [[ "${dir_to_parse}" == "${SHM_DIRECTORY}" ]]; then elif [[ "${dir_to_parse}" == "${SHM_DIRECTORY}" ]]; then
# SHM file - we do not want to see the content, but we want to see the files and their sizes # SHM file - we do not want to see the content, but we want to see the files and their sizes
log_write "$(ls -ld "${dir_to_parse}"/"${each_file}")" log_write "$(ls -lhd "${dir_to_parse}"/"${each_file}")"
else else
# Then, parse the file's content into an array so each line can be analyzed if need be # Then, parse the file's content into an array so each line can be analyzed if need be
for i in "${!REQUIRED_FILES[@]}"; do for i in "${!REQUIRED_FILES[@]}"; do