From 7ebf2031b0069146647f4fe5b80cf1987c1c62d1 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 12 Mar 2020 10:16:21 +0100 Subject: [PATCH] Add debug message if it's not a file --- send.to.0x0.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/send.to.0x0.sh b/send.to.0x0.sh index d1f3989..b33e828 100755 --- a/send.to.0x0.sh +++ b/send.to.0x0.sh @@ -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 } # ]]]