[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/rgmanager/src/resources/utils ra-skelet.sh



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	mgrac sourceware org	2007-06-19 19:29:41

Modified files:
	rgmanager/src/resources/utils: ra-skelet.sh 

Log message:
	Bug #243972 - Wrong usage of variables $pid vs $pid_file

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/utils/ra-skelet.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.2.1&r2=1.5.2.2

--- cluster/rgmanager/src/resources/utils/ra-skelet.sh	2006/10/10 14:10:38	1.5.2.1
+++ cluster/rgmanager/src/resources/utils/ra-skelet.sh	2007/06/19 19:29:41	1.5.2.2
@@ -62,7 +62,7 @@
 	read pid < "$pid_file"
 
 	# @todo: PID is not running -> error?
-	if [ ! -d "/proc/$pid_file" ]; then
+	if [ ! -d "/proc/$pid" ]; then
 		return 0;
 	fi
                                 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]