mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
postgres-init-db: Require an Enter press in confirmation prompt.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
78b018989e
commit
2ec946ad4d
@@ -20,7 +20,7 @@ if [[ $records -gt 200 ]]
|
|||||||
then
|
then
|
||||||
set +x
|
set +x
|
||||||
echo "WARNING: This will delete your Zulip database which currently contains $records messages."
|
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
|
echo
|
||||||
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user