mirror of
https://github.com/cimryan/teslausb.git
synced 2026-02-28 20:20:32 +00:00
Add missing $.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user