mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Better error checking.
This commit is contained in:
@@ -81,8 +81,11 @@ function move_clips_to_archive () {
|
||||
|
||||
done
|
||||
log "Moved $move_count file(s)."
|
||||
log "Sending Pushover message"
|
||||
/root/bin/send-pushover.sh $move_count
|
||||
if [ -r "/root/.teslaCamPushoverCredentials" ]
|
||||
then
|
||||
log "Sending Pushover message for copied files."
|
||||
/root/bin/send-pushover.sh $move_count
|
||||
fi
|
||||
log "Finished moving clips to archive."
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user