diff options
author | Bruce Momjian | 2001-02-10 05:55:17 +0000 |
---|---|---|
committer | Bruce Momjian | 2001-02-10 05:55:17 +0000 |
commit | 6996a77246c5f0f7b42c22a7346bba8fe2fb0a4b (patch) | |
tree | 23279e4efbca39e5dcc8504b1321d03569469ec7 | |
parent | fd40942fd8f99dd46da1dcb49fae58f607aea179 (diff) |
Clean up bad variable used in script. Still not sure it works under Linux.
-rw-r--r-- | src/bin/ipcclean/ipcclean.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/ipcclean/ipcclean.sh b/src/bin/ipcclean/ipcclean.sh index df13ea06927..24d089b0b7c 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.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 $ # CMDNAME=`basename $0` @@ -62,9 +62,9 @@ if [ `uname` = 'Linux' ]; then # Don't do anything if process still running. # (This check is conceptually phony, but it's # useful anyway in practice.) - ps hj$ipcs_pid >/dev/null 2>&1 + ps hj$ipcs_lpid >/dev/null 2>&1 if [ $? -eq 0 ]; then - echo "skipped. Process still exists (pid $ipcs_pid)." + echo "skipped. Process still exists (pid $ipcs_lpid)." else # try remove ipcrm shm $ipcs_id |