Fixes verbose parsing messages.

main
Yasen Pramatarov 2024-05-28 17:16:30 +03:00
parent ec68fef991
commit 6633278599
1 changed files with 5 additions and 1 deletions

6
jilo
View File

@ -383,7 +383,11 @@ case "$cmd" in
jitsi_log_parse "$LOGFILE" "$last_pos" "$verbose" jitsi_log_parse "$LOGFILE" "$last_pos" "$verbose"
if [[ "$verbose" == true ]]; then 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 fi
# update the state in db # update the state in db