mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Even more error checking.
This commit is contained in:
@@ -25,7 +25,7 @@ check_variable "sharepassword"
|
|||||||
check_variable "campercent"
|
check_variable "campercent"
|
||||||
|
|
||||||
function check_pushover_enabled () {
|
function check_pushover_enabled () {
|
||||||
if [ -n "${pushover_enabled+x}" ]
|
if [ ! -z "${pushover_enabled+x}" ]
|
||||||
then
|
then
|
||||||
if [ ! -n "${pushover_user_key+x}" ] || [ ! -n "${pushover_app_key+x}" ]
|
if [ ! -n "${pushover_user_key+x}" ] || [ ! -n "${pushover_app_key+x}" ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user