Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6996a77

Browse files
committed
Clean up bad variable used in script. Still not sure it works under Linux.
1 parentfd40942 commit6996a77

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/null2>&1
65+
ps hj$ipcs_lpid>/dev/null2>&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)

[8]ページ先頭

©2009-2025 Movatter.jp