aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-02-10 06:12:15 +0000
committerBruce Momjian <bruce@momjian.us>2001-02-10 06:12:15 +0000
commitd2331b4ebd289088b9436012f3bd185b9a140b2b (patch)
tree4c3f4a57bfd1add8aad0e223d92a71fce1c78ad0 /src
parent6996a77246c5f0f7b42c22a7346bba8fe2fb0a4b (diff)
downloadpostgresql-d2331b4ebd289088b9436012f3bd185b9a140b2b.tar.gz
postgresql-d2331b4ebd289088b9436012f3bd185b9a140b2b.zip
More cleanup, again not sure it works.
Diffstat (limited to 'src')
-rw-r--r--src/bin/ipcclean/ipcclean.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/ipcclean/ipcclean.sh b/src/bin/ipcclean/ipcclean.sh
index 24d089b0b7c..6e989ea732d 100644
--- a/src/bin/ipcclean/ipcclean.sh
+++ b/src/bin/ipcclean/ipcclean.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.8 2001/02/10 05:55:17 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.9 2001/02/10 06:12:15 momjian Exp $
#
CMDNAME=`basename $0`
@@ -39,7 +39,6 @@ EffectiveUser=`id -n -u 2>/dev/null || whoami 2>/dev/null`
#
if [ `uname` = 'Linux' ]; then
ipcs_id=
- ipcs_cpid=
ipcs_lpid=
did_anything=
@@ -49,7 +48,8 @@ if [ `uname` = 'Linux' ]; then
fi
# shared memory
- for val in `ipcs -m -p | grep '^[0-9]' | awk '{printf "%s %s\n", $1, $3, $4}'`; do
+ for val in `ipcs -m -p | grep '^[0-9]' | awk '{printf "%s %s\n", $1, $3, $4}'`
+ do
if [ -z "$ipcs_id" ]; then
ipcs_id=$val
# Note: We can do -n here, because we know the platform.
@@ -75,7 +75,6 @@ if [ `uname` = 'Linux' ]; then
fi
fi
ipcs_id=
- ipcs_cpid=
ipcs_lpid=
done