diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index cd2437507..7a9318523 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -384,8 +384,8 @@ Non-existant temporary directory: $EASYRSA_TEMP_DIR" rand="$("$EASYRSA_OPENSSL" rand -hex 4)" \ || die "secure_session - rand '$rand'" + mkdir "${EASYRSA_TEMP_DIR}/${rand}" || continue EASYRSA_TEMP_DIR_session="${EASYRSA_TEMP_DIR}/${rand}" - mkdir "$EASYRSA_TEMP_DIR_session" || continue return done return 1 diff --git a/op-test.sh b/op-test.sh index e53e780e6..ffea324a7 100644 --- a/op-test.sh +++ b/op-test.sh @@ -225,6 +225,7 @@ download_shellcheck () { log "version check failed: ${ERSA_UT}/${target_file}" sc_bin="${ERSA_UT}/${target_file}" sc_bin_ok=1 + log "shellcheck enabled" else # download and basic check log "curl_it ${target_file}"