We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent6996a77 commitd2331b4Copy full SHA for d2331b4
src/bin/ipcclean/ipcclean.sh
@@ -1,6 +1,6 @@
1
#!/bin/sh
2
#
3
-# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.8 2001/02/1005:55:17 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.9 2001/02/1006:12:15 momjian Exp $
4
5
6
CMDNAME=`basename$0`
@@ -39,7 +39,6 @@ EffectiveUser=`id -n -u 2>/dev/null || whoami 2>/dev/null`
39
40
if [`uname`='Linux' ];then
41
ipcs_id=
42
- ipcs_cpid=
43
ipcs_lpid=
44
did_anything=
45
@@ -49,7 +48,8 @@ if [ `uname` = 'Linux' ]; then
49
48
fi
50
51
# shared memory
52
-forvalin`ipcs -m -p| grep'^[0-9]'| awk'{printf "%s %s\n", $1, $3, $4}'`;do
+forvalin`ipcs -m -p| grep'^[0-9]'| awk'{printf "%s %s\n", $1, $3, $4}'`
+do
53
if [-z"$ipcs_id" ];then
54
ipcs_id=$val
55
# Note: We can do -n here, because we know the platform.
@@ -75,7 +75,6 @@ if [ `uname` = 'Linux' ]; then
75
76
77
78
79
80
done
81