Skip to content

Commit

Permalink
added default value
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed May 31, 2021
1 parent f9105eb commit 3730032
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ checkInstalledVersion() {
else
echo "A newer ${BINARY_NAME} ${TAG_WO_VER} is available. Release notes: https://containerlab.srlinux.dev/rn/${TAG_WO_VER}"
echo "You are running containerlab $version version"
UPGR_NEEDED="Y"
read -e -p "Proceed with upgrade? [Y/n]: " -i "Y" UPGR_NEEDED
if [ "$UPGR_NEEDED" == "Y" ]; then
return 1
Expand Down

0 comments on commit 3730032

Please sign in to comment.