summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-01-14 16:25:51 +0000
committerGitHub <noreply@github.com>2024-01-14 16:25:51 +0000
commit1312905c922987df3142e5adb12701f4321a34bd (patch)
tree2823b872b3388af75b232d468e8297a7aec35bf8 /templates
parent6e3334dec6143b7c18c6cec15344d84eb900ebb5 (diff)
parent07e1554b71c6e0af160578a414be08a9dbbafa04 (diff)
downloadvyatta-op-vpn-8f405c438ac9ba282664597c3ac8baf83d211055.tar.gz
vyatta-op-vpn-8f405c438ac9ba282664597c3ac8baf83d211055.zip
Merge pull request #38 from sever-sever/T57151.3.81.3.71.3.6equuleus
T5715: Fix for restart vpn
Diffstat (limited to 'templates')
-rw-r--r--templates/restart/vpn/node.def.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/restart/vpn/node.def.in b/templates/restart/vpn/node.def.in
index ad426bb..f2cb6cc 100644
--- a/templates/restart/vpn/node.def.in
+++ b/templates/restart/vpn/node.def.in
@@ -1,5 +1,5 @@
help: Restart IPsec VPN
-run: if [ -n "$(cli-shell-api returnActiveValues vpn ipsec)" ]; then
+run: if cli-shell-api existsEffective vpn ipsec; then
if pgrep charon > /dev/null
then
@SUDOUSRDIR@/vyatta-vpn-op.pl --op=clear-vpn-ipsec-process