Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e801bd

Browse files
committed
Remove >& and make it 2>&1
1 parent0dd9558 commit6e801bd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/bin/initdb/initdb.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
#
2727
#
2828
# IDENTIFICATION
29-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.86 2000/02/16 21:25:59 momjian Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.87 2000/03/25 14:32:50 momjian Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

3333
exit_nicely(){
34-
sttyecho>& /dev/null
34+
sttyecho> /dev/null2>&1
3535
echo
3636
echo"$CMDNAME failed."
3737
if ["$noclean"-eq 0 ];then
@@ -499,14 +499,14 @@ echo "REVOKE ALL on pg_shadow FROM public" \
499499
# set up password
500500
if ["$PwPrompt" ];then
501501
$ECHO_N"Enter new superuser password:"$ECHO_C
502-
stty -echo>& /dev/null
502+
stty -echo> /dev/null2>&1
503503
read FirstPw
504-
sttyecho>& /dev/null
504+
sttyecho> /dev/null2>&1
505505
echo
506506
$ECHO_N"Enter it again:"$ECHO_C
507-
stty -echo>& /dev/null
507+
stty -echo> /dev/null2>&1
508508
read SecondPw
509-
sttyecho>& /dev/null
509+
sttyecho> /dev/null2>&1
510510
echo
511511
if ["$FirstPw"!="$SecondPw" ];then
512512
echo"Passwords didn't match."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp