Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6996a77

Browse files
committed
Clean up bad variable used in script. Still not sure it works under Linux.
1 parent fd40942 commit 6996a77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/ipcclean/ipcclean.sh

Lines changed: 3 additions & 3 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.7 2001/01/25 16:32:25 petere Exp $
3+
# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.8 2001/02/10 05:55:17 momjian Exp $
44
#
55

66
CMDNAME=`basename $0`
@@ -62,9 +62,9 @@ if [ `uname` = 'Linux' ]; then
6262
# Don't do anything if process still running.
6363
# (This check is conceptually phony, but it's
6464
# useful anyway in practice.)
65-
ps hj$ipcs_pid >/dev/null 2>&1
65+
ps hj$ipcs_lpid >/dev/null 2>&1
6666
if [ $? -eq 0 ]; then
67-
echo "skipped. Process still exists (pid $ipcs_pid)."
67+
echo "skipped. Process still exists (pid $ipcs_lpid)."
6868
else
6969
# try remove
7070
ipcrm shm $ipcs_id

0 commit comments

Comments
 (0)