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

Commite01e14e

Browse files
committed
Avoid bogus failures due to 'ps x | grep postmaster' detecting 'grep
postmaster' process.
1 parentf118c36 commite01e14e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/ipcclean/ipcclean.sh

Lines changed: 2 additions & 2 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.6 2000/11/11 22:59:47 petere Exp $
3+
# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.7 2001/01/25 16:32:25 petere Exp $
44
#
55

66
CMDNAME=`basename$0`
@@ -43,7 +43,7 @@ if [ `uname` = 'Linux' ]; then
4343
ipcs_lpid=
4444
did_anything=
4545

46-
if ps x| grep -s'postmaster'>/dev/null2>&1;then
46+
if ps x| grep -s'[p]ostmaster'>/dev/null2>&1;then
4747
echo"$CMDNAME: You still have a postmaster running."1>&2
4848
exit 1
4949
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp