From d5afc8f40294dea6ba27fffba7b88b7e612cda02 Mon Sep 17 00:00:00 2001 From: mag37 Date: Fri, 20 Jan 2023 11:52:47 +0100 Subject: [PATCH] Update dockcheck.sh --- dockcheck.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dockcheck.sh b/dockcheck.sh index d0a1772..dbf1ac3 100644 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -86,7 +86,7 @@ if [ -n "$GotUpdates" ] ; then if [ -z "$UpdYes" ] ; then printf "\n\033[36;1mDo you want to update? y/[n]\033[0m\n" read UpdYes - else + fi if [ "$UpdYes" != "${UpdYes#[Yy]}" ] ; then for i in "${GotUpdates[@]}" do @@ -99,7 +99,6 @@ if [ -n "$GotUpdates" ] ; then else printf "\nNo updates installed, exiting.\n" fi - fi else printf "\nNo updates available, exiting.\n" fi