File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 88#
99#
1010# IDENTIFICATION
11- # $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.16 2000/11/29 20:59:53 tgl Exp $
11+ # $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.17 2000/12/30 06:10:43 ishii Exp $
1212#
1313# -------------------------------------------------------------------------
1414
@@ -215,7 +215,7 @@ if [ $op = "stop" -o $op = "restart" ];then
215215
216216 kill $sig $PID
217217
218- # wait for postmaster shutting down
218+ # wait for postmaster to shut down
219219 if [ " $wait " = 1 -o $op = " restart" ]; then
220220 cnt=0
221221 $ECHO_N " Waiting for postmaster to shut down.." $ECHO_C
@@ -226,18 +226,19 @@ if [ $op = "stop" -o $op = "restart" ];then
226226 $ECHO_N " ." $ECHO_C
227227 cnt=` expr $cnt + 1`
228228 if [ $cnt -gt 60 ]; then
229- echo " $CMDNAME : postmaster does not shut down"
229+ echo " failed."
230+ echo " postmaster does not shut down."
230231 exit 1
231232 fi
232233 else
233234 break
234235 fi
235236 sleep 1
236237 done
237- echo " done"
238+ echo " done. "
238239 fi
239240
240- echo " postmaster successfully shut down"
241+ echo " postmaster successfully shut down. "
241242
242243 else
243244 echo " $CMDNAME : cannot find $PIDFILE "
@@ -281,7 +282,7 @@ if [ $op = "start" -o $op = "restart" ];then
281282 fi
282283 fi
283284
284- # wait for postmaster starting up
285+ # wait for postmaster to start up
285286 if [ " $wait " = 1 ]; then
286287 cnt=0
287288 $ECHO_N " Waiting for postmaster to start up.." $ECHO_C
You can’t perform that action at this time.
0 commit comments