From 663327859907ac30cc715b94eb582556f903be6a Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Tue, 28 May 2024 17:16:30 +0300 Subject: [PATCH] Fixes verbose parsing messages. --- jilo | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jilo b/jilo index 03b102d..e44a873 100755 --- a/jilo +++ b/jilo @@ -383,7 +383,11 @@ case "$cmd" in jitsi_log_parse "$LOGFILE" "$last_pos" "$verbose" if [[ "$verbose" == true ]]; then - echo -e "\nNew last position after parsing: $new_last_pos" + if [[ "$new_last_pos" == "$last_pos" ]]; then + echo "The file has not changed, no new data inserted." + else + echo -e "\nNew last position after parsing: $new_last_pos" + fi fi # update the state in db