/[smeserver]/rpms/dehydrated/sme9/dehydrated-fix-missing-id.patch
ViewVC logotype

Contents of /rpms/dehydrated/sme9/dehydrated-fix-missing-id.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Nov 23 00:03:39 2019 UTC (5 years ago) by jcrisp
Branch: MAIN
CVS Tags: dehydrated-0_6_2-14_el6_sme, HEAD
* Fri Nov 22 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.6.2-14.sme
- fix Malformed account ID error [SME: 10828]

1 diff -ruN dehydrated-0.6.2.old/dehydrated dehydrated-0.6.2/dehydrated
2 --- dehydrated-0.6.2.old/dehydrated 2019-11-22 10:22:35.173777041 +0100
3 +++ dehydrated-0.6.2/dehydrated 2019-11-22 10:24:21.418941136 +0100
4 @@ -397,6 +397,8 @@
5 # Read account information or request from CA if missing
6 if [[ -e "${ACCOUNT_KEY_JSON}" ]]; then
7 ACCOUNT_ID="$(cat "${ACCOUNT_KEY_JSON}" | get_json_int_value id)"
8 + fi
9 + if [ -n "${ACCOUNT_ID:-}" ]; then
10 if [[ ${API} -eq 1 ]]; then
11 ACCOUNT_URL="${CA_REG}/${ACCOUNT_ID}"
12 else

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed