remove any charon.pid files remaining at the end of each scenario

This commit is contained in:
Andreas Steffen
2010-02-04 08:53:52 +01:00
parent 00eb9267ad
commit 8501181925
+11
View File
@@ -631,6 +631,17 @@ do
</tr>
@EOF
##########################################################################
# remove any charon.pid files that still may exist
#
for host in $IPSECHOSTS
do
eval HOSTLOGIN=root@\$ipv4_${host}
ssh $HOSTLOGIN 'if [ -f /var/run/charon.pid ]; then rm /var/run/charon.pid; echo " removed charon.pid on `hostname`"; fi'
done
done
done