From 27ebdb560e27a1186af8126283a96e1a73015926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Cesar=20Caballero=20D=C3=ADaz?= Date: Sat, 9 Sep 2023 19:04:06 -0600 Subject: [PATCH] Fix #39 Constantly uses 100% of cpu --- una-updater | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/una-updater b/una-updater index 3531c7b..8e77db1 100755 --- a/una-updater +++ b/una-updater @@ -19,6 +19,7 @@ _ui() { while true; do source /etc/una/config &>/dev/null if [[ "${auto_update}" == "true" ]]; then - _ui; sleep "${update_check_gap}" + _ui fi + sleep "${update_check_gap}" done