From 4b53276871a62dd6de9e357eaf729e99c9770f7c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 10 Feb 2001 05:55:17 +0000 Subject: [PATCH] Clean up bad variable used in script. Still not sure it works under Linux. --- src/bin/ipcclean/ipcclean.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/ipcclean/ipcclean.sh b/src/bin/ipcclean/ipcclean.sh index b44095d8dc..1636b8d4dc 100644 --- a/src/bin/ipcclean/ipcclean.sh +++ b/src/bin/ipcclean/ipcclean.sh @@ -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 -- 2.39.5