diff --git a/powerwall.sh b/powerwall.sh index 94023b71..3b774bb1 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -335,7 +335,7 @@ if [ ${action-x} ]; then checktemp_service) if [ "${2}" = "stop" ]; then STOP_SERVICE ${3} - echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${FOLDER}/log-${1} + echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${FOLDER}/log-${3} else CHECKTEMP_SERVICE ${3} fi