mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Add missing $.
This commit is contained in:
@@ -234,7 +234,7 @@ function archive_clips () {
|
|||||||
|
|
||||||
function truncate_log () {
|
function truncate_log () {
|
||||||
local log_length=$( wc -l "$LOG_FILE" | cut -d' ' -f 1 )
|
local log_length=$( wc -l "$LOG_FILE" | cut -d' ' -f 1 )
|
||||||
if [ log_length -gt 10000 ]
|
if [ "$log_length" -gt 10000 ]
|
||||||
then
|
then
|
||||||
log "Truncating log..."
|
log "Truncating log..."
|
||||||
local log_file2="${LOG_FILE}.2"
|
local log_file2="${LOG_FILE}.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user