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

Commit1aecb8d

Browse files
committed
More >&1 cleanups
1 parent3df65f8 commit1aecb8d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/bin/ipcclean/ipcclean.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.4 2000/01/19 20:08:27 petere Exp $
3+
# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.5 2000/03/25 14:44:41 momjian Exp $
44
#
55

66
CMDNAME=`basename$0`
@@ -41,7 +41,7 @@ if [ `uname` = 'Linux' ]; then
4141
ipcs_lpid=
4242
did_anything=
4343

44-
if ps x| grep -s'postmaster'>&/dev/null;then
44+
if ps x| grep -s'postmaster'>/dev/null2>&1;then
4545
echo"$CMDNAME: You still have a postmaster running."
4646
exit 1
4747
fi
@@ -60,7 +60,7 @@ if [ `uname` = 'Linux' ]; then
6060
# Don't do anything if process still running.
6161
# (This check is conceptually phony, but it's
6262
# useful anyway in practice.)
63-
ps hj$ipcs_pid>&/dev/null
63+
ps hj$ipcs_pid>/dev/null2>&1
6464
if [$?-eq 0 ];then
6565
echo"skipped. Process still exists (pid$ipcs_pid)."
6666
else

‎src/test/suite/runall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
foreach s (*.sql)
44
echo"===>$s";
5-
psql -q -e -n$USER<$s>&$s.out;
5+
psql -q -e -n$USER<$s>$s.out2>&1;
66
diff$s.out results/$s.out;
77
end
88

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp