From 4881adc19fb201c516219ba56364bebcc3353dd2 Mon Sep 17 00:00:00 2001 From: Alex <25013571+alexhb1@users.noreply.github.com> Date: Fri, 1 May 2026 19:30:32 +0100 Subject: [PATCH] Fix tor error retry (#941) --- tor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tor.sh b/tor.sh index 2e49493..a097318 100644 --- a/tor.sh +++ b/tor.sh @@ -202,7 +202,7 @@ while true; do exit 1 fi - CURRENT_LOG=$(tail -n 1 /var/log/tor/notices.log 2>/dev/null) + CURRENT_LOG=$(tail -n 1 /var/log/tor/notices.log 2>/dev/null || true) printf "\r\033[K[%ds] %s" "$ELAPSED" "$CURRENT_LOG" sleep 1 done