diff --git a/src/luks/clevis-luks-report b/src/luks/clevis-luks-report index c55df29c..8bfa8312 100755 --- a/src/luks/clevis-luks-report +++ b/src/luks/clevis-luks-report @@ -99,7 +99,7 @@ report_sss() { local jwe for jwe in $(jose fmt --json="${content}" --get jwe --foreach=-); do jwe="$(printf '%s' "${jwe}" | sed -e 's/"//g')" - report_decode "${jwe}" + report_decode "${jwe}" || return 1 done } @@ -129,10 +129,10 @@ report_decode() { case "${pin}" in tang) - report_tang "${content}" + report_tang "${content}" || return 1 ;; sss) - report_sss "${content}" + report_sss "${content}" || return 1 ;; esac }