Skip to content

Disconnect VPN after job exit

This MR adds trap "killall -SIGINT openconnect" EXIT ERR so that we stop the VPN connection as soon as the script finishes execution.

The line [2020-08-27 18:48:48] Send BYE packet: Aborted by caller shows that we're disconnecting from the VPN from script and after_script as expected.

Closes #9 (closed)

Merge request reports