File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
#
3
- # $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.8 2001/02/10 05:55:17 momjian Exp $
3
+ # $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.9 2001/02/10 06:12:15 momjian Exp $
4
4
#
5
5
6
6
CMDNAME=` basename $0 `
@@ -39,7 +39,6 @@ EffectiveUser=`id -n -u 2>/dev/null || whoami 2>/dev/null`
39
39
#
40
40
if [ ` uname` = ' Linux' ]; then
41
41
ipcs_id=
42
- ipcs_cpid=
43
42
ipcs_lpid=
44
43
did_anything=
45
44
@@ -49,7 +48,8 @@ if [ `uname` = 'Linux' ]; then
49
48
fi
50
49
51
50
# shared memory
52
- for val in ` ipcs -m -p | grep ' ^[0-9]' | awk ' {printf "%s %s\n", $1, $3, $4}' ` ; do
51
+ for val in ` ipcs -m -p | grep ' ^[0-9]' | awk ' {printf "%s %s\n", $1, $3, $4}' `
52
+ do
53
53
if [ -z " $ipcs_id " ]; then
54
54
ipcs_id=$val
55
55
# Note: We can do -n here, because we know the platform.
@@ -75,7 +75,6 @@ if [ `uname` = 'Linux' ]; then
75
75
fi
76
76
fi
77
77
ipcs_id=
78
- ipcs_cpid=
79
78
ipcs_lpid=
80
79
done
81
80
You can’t perform that action at this time.
0 commit comments