From c4c88988c95eb1df6bdf236d4cd7d8ee8df8c227 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Sun, 23 Jan 2022 15:51:04 +1100 Subject: [PATCH] minor cosmetic fix --- aircon.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aircon.sh b/aircon.sh index 90d32c9..6e09c6d 100755 --- a/aircon.sh +++ b/aircon.sh @@ -1574,7 +1574,7 @@ fi ALLARGS="$ALLARGS $*" -optstring="A:cDf:hHi:I:k:l:Lo:pmsSt:T:wx:y" +optstring="A:cD:f:hHi:I:k:l:Lo:pmsSt:T:wx:y" while getopts "$optstring" i $ALLARGS; do case "$i" in h) @@ -1591,7 +1591,7 @@ while getopts "$optstring" i $ALLARGS; do AIRCON_IP=${OPTARG} ;; D) - influxhost=${OPTARG} + influxhost="${OPTARG}" ;; I) logmode=2 @@ -1622,7 +1622,7 @@ while getopts "$optstring" i $ALLARGS; do enable_cronmode ;; p) - profiler=1 + profiler=1 info "Profiler mode enabled" ;; m)