Add debug message if it's not a file
This commit is contained in:
parent
6130c3012f
commit
7ebf2031b0
|
@ -41,6 +41,8 @@ is_file_exist() {
|
|||
if [ -s "${_file}" ]; then
|
||||
flag_file=true
|
||||
debug_message "− Func is_file_exist : ${_file} seems to be a file and it's non-empty."
|
||||
else
|
||||
debug_message "− Func is_file_exist : The content is not a file."
|
||||
fi
|
||||
}
|
||||
# ]]]
|
||||
|
|
Loading…
Reference in New Issue