mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 23:38:06 +02:00
Fix problem with prompt, actually read into var
This commit is contained in:
parent
5db11aa4c3
commit
3bed418a9e
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ function handle_git_update() {
|
|||
echo "Code update available! (current commit is $current_commit)"
|
||||
|
||||
should_pull="n"
|
||||
read -r -p "Procced to pull update? [y/n] "
|
||||
read -r -p "Procced to pull update? [y/n] " should_pull
|
||||
|
||||
if [[ ! "$should_pull" =~ [Yy] ]]; then
|
||||
echo "continuing without pulling update"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue