Skip to content

Commit

Permalink
Update controller.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
christian1980nrw authored Jan 7, 2024
1 parent 16c91c6 commit a02cc62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ download_awattar_prices() {
fi
if ! curl "$url" >"$file"; then
log_message "E: Download of aWATTar prices from '$url' to '$file' failed."
rm $file
rm "$file"
exit_with_cleanup 1
fi

Expand Down Expand Up @@ -263,7 +263,7 @@ download_tibber_prices() {
if [ ! -s "$file16" ]; then
log_message "E: Tibber prices cannot be extracted to '$file16', please check your Tibber API Key. Fallback to aWATTar API."
use_tibber=0
rm $file
rm "$file"
fi
}

Expand Down

0 comments on commit a02cc62

Please sign in to comment.