Fixes verbose parsing messages.
parent
ec68fef991
commit
6633278599
4
jilo
4
jilo
|
@ -383,8 +383,12 @@ 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
|
||||||
|
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"
|
echo -e "\nNew last position after parsing: $new_last_pos"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# update the state in db
|
# update the state in db
|
||||||
set_state "$LOGFILE" "$current_filetime" "$current_size" "$new_last_pos" "$current_inode" "$jitsi_component"
|
set_state "$LOGFILE" "$current_filetime" "$current_size" "$new_last_pos" "$current_inode" "$jitsi_component"
|
||||||
|
|
Loading…
Reference in New Issue