Update 02-restorestreamdata.sh

This commit is contained in:
Alexandre
2024-05-11 00:20:27 +02:00
committed by GitHub
parent d95b2f1d08
commit 21f95612c7

View File

@@ -2,7 +2,7 @@
# shellcheck shell=bash
# Check if there are files in "$HOME"/BirdSongs/StreamData and move them to /data/StreamData
if [ -d /data/StreamData ] && [ "$(ls -A "$HOME"/BirdSongs/StreamData)" ]; then
if [ -d /data/StreamData ] && [ "$(ls -A /data/StreamData/)" ]; then
bashio::log.warning "Container was stopped while files were still being analysed, restoring them"