8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd40942 commit 6996a77Copy full SHA for 6996a77
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.7 2001/01/25 16:32:25 petere Exp $
+# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.8 2001/02/10 05:55:17 momjian Exp $
4
5
6
CMDNAME=`basename $0`
@@ -62,9 +62,9 @@ if [ `uname` = 'Linux' ]; then
62
# Don't do anything if process still running.
63
# (This check is conceptually phony, but it's
64
# useful anyway in practice.)
65
- ps hj$ipcs_pid >/dev/null 2>&1
+ ps hj$ipcs_lpid >/dev/null 2>&1
66
if [ $? -eq 0 ]; then
67
- echo "skipped. Process still exists (pid $ipcs_pid)."
+ echo "skipped. Process still exists (pid $ipcs_lpid)."
68
else
69
# try remove
70
ipcrm shm $ipcs_id
0 commit comments