From 6cba140522f39a4ea1aa8ffdd4ceda98913d7fad Mon Sep 17 00:00:00 2001 From: mag37 Date: Thu, 13 Feb 2025 22:21:53 +0100 Subject: [PATCH] too tired.. forgot fi's --- dockcheck.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dockcheck.sh b/dockcheck.sh index 400f64b..5b998c9 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -242,9 +242,11 @@ else fi else GetRegctl="S" + fi if [[ "$GetRegct" =~ [Ss] || "$PkgInstaller" == "ERROR" || "$PkgExitcode" != 0 ]] ; then binary_downloader "regctl" "https://github.com/regclient/regclient/releases/latest/download/regctl-linux-TEMP" [[ -f "$ScriptWorkDir/regctl" ]] && regbin="$ScriptWorkDir/regctl" + fi else printf "\n%bDependency missing, exiting.%b\n" "$c_red" "$c_reset" ; exit 1 ; fi fi