Skip to contentSkip to conversation

cluster/rgmanager/src/resources/utils ra-skelet.sh

Cluster-devel [email protected] 1 participant 1 message Jun 19, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: mgrac at 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

rgmanager/src/resources/utils/ra-skelet.sh +1 -1
@@ -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