mirror of https://github.com/zulip/zulip.git
postgres-init-db: Require an Enter press in confirmation prompt.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
78b018989e
commit
2ec946ad4d
|
@ -20,7 +20,7 @@ if [[ $records -gt 200 ]]
|
|||
then
|
||||
set +x
|
||||
echo "WARNING: This will delete your Zulip database which currently contains $records messages."
|
||||
read -p "Do you want to proceed? " -n 1 -r
|
||||
read -p "Do you want to proceed? [y/N] " -r
|
||||
echo
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue