Lint SC2236

This commit is contained in:
Alexandre
2025-04-08 10:59:10 +02:00
committed by GitHub
parent a78a28d66f
commit 83c51c9d84
5 changed files with 8 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ else
fi || true
# Use ALSA CARD defined in add-on options if available
if [ ! -z "${ALSA_CARD:-}" ]; then
if [ -n "${ALSA_CARD:-}" ]; then
bashio::log.warning "ALSA_CARD is defined, the birdnet.conf is adapt to use device $ALSA_CARD"
for file in "$HOME"/BirdNET-Pi/birdnet.conf /config/birdnet.conf; do
if [ -f "$file" ]; then