From d9881896b7191c3a78c5b8ea33c9fa7eca26d451 Mon Sep 17 00:00:00 2001 From: claustromaniac <20734810+claustromaniac@users.noreply.github.com> Date: Mon, 26 Nov 2018 14:03:36 +0000 Subject: [PATCH] Update updater.sh Co-Authored-By: earthlng --- updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.sh b/updater.sh index 04ab8b6..875d1db 100755 --- a/updater.sh +++ b/updater.sh @@ -143,7 +143,7 @@ readIniFile () { # expects one argument: absolute path of profiles.ini else grep -E -v '^\[General\]|^StartWithLastProfile=|^IsRelative=' "$inifile" echo '' - read -p 'Select the profile number ( 0 for Profile0, 1 for Profile1, etc ) : ' -n 1 -r + read -p 'Select the profile number ( 0 for Profile0, 1 for Profile1, etc ) : ' -r echo -e "\n" if [[ $REPLY =~ ^(0|[1-9][0-9]*)$ ]]; then grep '^\[Profile'${REPLY} -A 4 "$inifile" | grep -v '^\[Profile'${REPLY} > $tfile