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

Commitd2331b4

Browse files
committed
More cleanup, again not sure it works.
1 parent6996a77 commitd2331b4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎src/bin/ipcclean/ipcclean.sh

Lines changed: 3 additions & 4 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.8 2001/02/1005:55:17 momjian Exp $
3+
# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.9 2001/02/1006:12:15 momjian Exp $
44
#
55

66
CMDNAME=`basename$0`
@@ -39,7 +39,6 @@ EffectiveUser=`id -n -u 2>/dev/null || whoami 2>/dev/null`
3939
#
4040
if [`uname`='Linux' ];then
4141
ipcs_id=
42-
ipcs_cpid=
4342
ipcs_lpid=
4443
did_anything=
4544

@@ -49,7 +48,8 @@ if [ `uname` = 'Linux' ]; then
4948
fi
5049

5150
# shared memory
52-
forvalin`ipcs -m -p| grep'^[0-9]'| awk'{printf "%s %s\n", $1, $3, $4}'`;do
51+
forvalin`ipcs -m -p| grep'^[0-9]'| awk'{printf "%s %s\n", $1, $3, $4}'`
52+
do
5353
if [-z"$ipcs_id" ];then
5454
ipcs_id=$val
5555
# Note: We can do -n here, because we know the platform.
@@ -75,7 +75,6 @@ if [ `uname` = 'Linux' ]; then
7575
fi
7676
fi
7777
ipcs_id=
78-
ipcs_cpid=
7978
ipcs_lpid=
8079
done
8180

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp