iankelling.org
/
git
/
vpn-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor improvements
[vpn-setup]
/
client-cert-helper
diff --git
a/client-cert-helper
b/client-cert-helper
index a1708134bd1eaf59e7bb481f1fb831fc664280d2..40078aad9562c5a84ac0f6e6f422e2fcca7dee5d 100755
(executable)
--- a/
client-cert-helper
+++ b/
client-cert-helper
@@
-6,6
+6,8
@@
set -eE -o pipefail
rm -f /tmp/vpn-mk-client-cert.log
exec 2>/tmp/vpn-mk-client-cert.log
rm -f /tmp/vpn-mk-client-cert.log
exec 2>/tmp/vpn-mk-client-cert.log
+date >&2
+
name=$1
common_name=$2
name=$1
common_name=$2
@@
-35,7
+37,7
@@
fi
### end section roughly copied from vpn-server-setup
if [[ ! -e $cafile ]]; then
### end section roughly copied from vpn-server-setup
if [[ ! -e $cafile ]]; then
- echo
: error
no cafile found at $cafile >/tmp/errors
+ echo
error:
no cafile found at $cafile >/tmp/errors
exit 1
fi
exit 1
fi