From c07688635de595fa5b3f26d5ba88fabdefb04719 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Wed, 15 May 2019 19:28:24 +0800 Subject: [PATCH] [go-xcat] Enhance curl exit code parsing --- xCAT-server/share/xcat/tools/go-xcat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/share/xcat/tools/go-xcat b/xCAT-server/share/xcat/tools/go-xcat index fc94c8555..75b15ea98 100755 --- a/xCAT-server/share/xcat/tools/go-xcat +++ b/xCAT-server/share/xcat/tools/go-xcat @@ -883,6 +883,8 @@ function download_file_curl() 88) echo -n "FTP chunk callback reported error" ;; 89) echo -n "no connection available, the session will be queued" ;; 90) echo -n "SSL public key does not matched pinned public key" ;; + 91) echo -n "invalid SSL certificate status" ;; + 92) echo -n "stream error in HTTP/2 framing layer" ;; *) echo -n "unknown error" ;; esac echo ")"