From f953f35a584099e18ab69cab3f37a5e39023bf9a Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 8 Jan 2023 00:12:55 +0000 Subject: [PATCH] Github bot : script beautyshied --- teamspeak/rootfs/etc/services.d/logs.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/teamspeak/rootfs/etc/services.d/logs.sh b/teamspeak/rootfs/etc/services.d/logs.sh index 9ba4a06cd..00ec4ed45 100644 --- a/teamspeak/rootfs/etc/services.d/logs.sh +++ b/teamspeak/rootfs/etc/services.d/logs.sh @@ -2,11 +2,11 @@ # shellcheck shell=bash if [ ! -f /touched ]; then - until [[ -n $(cat /data/*_1.log 2>/dev/null) ]]; do - sleep 1 - done - bashio::log.info "Here are the admin informations:" - cat /data/*_1.log - touch /touched - rm /etc/services.d/logs.sh + until [[ -n $(cat /data/*_1.log 2>/dev/null) ]]; do + sleep 1 + done + bashio::log.info "Here are the admin informations:" + cat /data/*_1.log + touch /touched + rm /etc/services.d/logs.sh fi