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:
@@ -1,5 +1,10 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
function log () {
|
||||
echo "$( date )" >> "$LOG_FILE"
|
||||
echo "$1" >> "$LOG_FILE"
|
||||
}
|
||||
|
||||
source /root/.teslaCamPushoverCredentials
|
||||
|
||||
curl -F "token=$pushover_app_key" \
|
||||
|
||||
Reference in New Issue
Block a user