Skip to content

Commit 031dd39

Browse files
authored
Update upgrade.sh: Add missing "fi"
1 parent 823f296 commit 031dd39

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

upgrade.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ if [[ ${ACTION} == "upgrade" ]]; then
241241
check_for_current
242242

243243
# Ask user how they want to upgrade.
244-
if true; then
245244
MSG="\n"
246245
MSG+="There are two ways to upgrade Allsky:"
247246
MSG+="\n"
@@ -274,7 +273,6 @@ if true; then
274273
display_msg --log progress "\nNo changes made.\n"
275274
exit 0
276275
fi
277-
fi
278276

279277
X="$( dialog \
280278
--title "${SHORT_TITLE}" \
@@ -390,6 +388,7 @@ fi
390388
fi
391389
display_msg --log progress "The upgrade is complete." " Go to the WebUI to restart Allsky.\n"
392390
exit 0
391+
fi
393392

394393
elif [[ ${ACTION} == "doUpgrade" ]]; then
395394
if [[ ${CHOSEN_METHOD} == "${METHOD_IN_PLACE}" ]]; then

0 commit comments

Comments
 (0)