提交 0701a77b 编写于 作者: Y yanchaozhong 提交者: Adam Lee

Make gpinitsystem similar to gpstart and gpstop prompting (#1942)

`gpinitsystem`, `gpstart` and `gpstop` had different prompting before:

$ gpinitsystem -c gpinitsystem_config 
...
Continue with Greenplum creation **Yy/Nn>**
n
...

$ gpstart
...

Continue with Greenplum instance startup **Yy|Nn (default=N):**
**>** n
...

$ gpstop
...

Continue with Greenplum instance shutdown **Yy|Nn (default=N):**
**>** n
...

This commit makes them consistent:

$ gpinitsystem -c gpinitsystem_config 
...

Continue with Greenplum creation Yy|Nn (default=N):
> n
上级 8b84d9de
......@@ -913,7 +913,8 @@ CREATE_GROUP_MIRROR_ARRAY () {
}
GET_REPLY () {
$ECHO "$1 Yy/Nn>"
$ECHO -e "\n$1 Yy|Nn (default=N):"
$ECHO -n "> "
read REPLY
if [ -z $REPLY ]; then
LOG_MSG "[WARN]:-User abort requested, Script Exits!" 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册