testing: Fix expect-connection for tkm tests
We don't use swanctl there but there is no load statement either.
This commit is contained in:
@@ -17,7 +17,7 @@ secs=$2
|
|||||||
|
|
||||||
cmd="swanctl --list-conns"
|
cmd="swanctl --list-conns"
|
||||||
grep 'load.*stroke' /etc/strongswan.conf >/dev/null
|
grep 'load.*stroke' /etc/strongswan.conf >/dev/null
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 -o -n "$DAEMON_NAME" ]; then
|
||||||
cmd="ipsec statusall"
|
cmd="ipsec statusall"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user