minor improvements
[vpn-setup] / client-cert-helper
index a1708134bd1eaf59e7bb481f1fb831fc664280d2..40078aad9562c5a84ac0f6e6f422e2fcca7dee5d 100755 (executable)
@@ -6,6 +6,8 @@ set -eE -o pipefail
 rm -f /tmp/vpn-mk-client-cert.log
 exec 2>/tmp/vpn-mk-client-cert.log
 
+date >&2
+
 name=$1
 common_name=$2
 
@@ -35,7 +37,7 @@ fi
 ### 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