mirror of
https://github.com/cimryan/teslausb.git
synced 2026-02-28 20:20:32 +00:00
Use the numeric comparison operator to determine if $NUM_FILES_MOVED is greater than 0
This commit is contained in:
@@ -7,7 +7,7 @@ function log () {
|
||||
echo "$1" >> "$LOG_FILE"
|
||||
}
|
||||
|
||||
if [ -r "/root/.teslaCamPushoverCredentials" ] && [ $NUM_FILES_MOVED > 0 ]
|
||||
if [ -r "/root/.teslaCamPushoverCredentials" ] && [ $NUM_FILES_MOVED -gt 0 ]
|
||||
then
|
||||
log "Sending Pushover message for moved files."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user