diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-05 07:42:33 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-11-05 07:42:33 +0000 |
commit | e8c1720d8476aa310bf470d023e59f3d5e14a84a (patch) | |
tree | 3c82f6ae7e5f9238a7788e80d4271d55d3cbe581 /t_lpback.sh | |
parent | Allow blank passwords to be passed via the management interface. (diff) | |
download | openvpn-e8c1720d8476aa310bf470d023e59f3d5e14a84a.tar.xz |
svn merge -r 771:780 $SO/trunk/openvpn
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@781 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 't_lpback.sh')
-rwxr-xr-x | t_lpback.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t_lpback.sh b/t_lpback.sh index 7cdffe4..b860de4 100755 --- a/t_lpback.sh +++ b/t_lpback.sh @@ -19,11 +19,13 @@ # 02110-1301, USA. set -e -trap "rm -f key.$$ log.$$ ; false" 1 2 3 15 +trap "rm -f key.$$ log.$$ ; trap 0 ; exit 77" 1 2 15 +trap "rm -f key.$$ log.$$ ; exit 1" 0 3 ./openvpn --genkey --secret key.$$ set +e ( ./openvpn --test-crypto --secret key.$$ ) >log.$$ 2>&1 e=$? if [ $e != 0 ] ; then cat log.$$ ; fi -rm key.$$ +rm key.$$ log.$$ +trap 0 exit $e |