summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-25 10:08:20 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-25 10:10:23 +0200
commitd3b951f2417589b30469970ef5124b8a99ce968d (patch)
treec6e4d2633e35dc9e2bded78114068467f4e8ab22
parentda45720bf5d5f6165334c1aa3a57d2d31c77b8c7 (diff)
downloadvyos-1x-d3b951f2417589b30469970ef5124b8a99ce968d.tar.gz
vyos-1x-d3b951f2417589b30469970ef5124b8a99ce968d.zip
ipsec: T2816: ipsec-dhclient-hook should use exit(0)
-rwxr-xr-xsrc/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook b/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook
index 5cd9321ef..4da12ee02 100755
--- a/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook
+++ b/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook
@@ -80,4 +80,6 @@ if __name__ == '__main__':
call('sudo ipsec rereadall')
call('sudo ipsec reload')
call('sudo swanctl -q')
+
+ exit(0)
PYEND \ No newline at end of file