Add missing $.

This commit is contained in:
cimryan
2018-11-03 22:28:53 -07:00
parent cb528de152
commit 35d62917ab

View File

@@ -234,7 +234,7 @@ function archive_clips () {
function truncate_log () {
local log_length=$( wc -l "$LOG_FILE" | cut -d' ' -f 1 )
if [ log_length -gt 10000 ]
if [ "$log_length" -gt 10000 ]
then
log "Truncating log..."
local log_file2="${LOG_FILE}.2"