From 460850f1f0a240c9398847c712291be03964dabc Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Tue, 19 Nov 2024 17:09:03 +0100 Subject: [PATCH] Fix auto-update check from Docker --- CHANGELOG.md | 1 + airgeddon.sh | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a883f26f9..765e7b813 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Added WEP besside-ng attack - Added network decloaking feature - Changed third available DoS attack (out of DoS attacks menu) + - Fix auto-update check from Docker ### 11.31 - Fixed graphics system detection when launched on a headless system using remote X windows diff --git a/airgeddon.sh b/airgeddon.sh index 8df7342f2..7e25943ce 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -15845,18 +15845,18 @@ function check_update_tools() { debug_print if "${AIRGEDDON_AUTO_UPDATE:-true}"; then - if [ "${update_toolsok}" -eq 1 ]; then - autoupdate_check - else - echo - language_strings "${language}" 225 "yellow" - language_strings "${language}" 115 "read" - fi - else if [ "${is_docker}" -eq 1 ]; then echo language_strings "${language}" 422 "blue" language_strings "${language}" 115 "read" + else + if [ "${update_toolsok}" -eq 1 ]; then + autoupdate_check + else + echo + language_strings "${language}" 225 "yellow" + language_strings "${language}" 115 "read" + fi fi fi }