remove any charon.pid files remaining at the end of each scenario
This commit is contained in:
@@ -631,6 +631,17 @@ do
|
|||||||
</tr>
|
</tr>
|
||||||
@EOF
|
@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
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user