We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b620b2d commit d451b60Copy full SHA for d451b60
contrib/guix/guix-verify
@@ -77,11 +77,13 @@ verify() {
77
echo ""
78
echo "Hint: Either the signature is invalid or the public key is missing"
79
80
+ failure=1
81
elif ! diff --report-identical "$compare_manifest" "$current_manifest" 1>&2; then
82
echo "ERR: The SHA256SUMS attestation in these two directories differ:"
83
echo " '${compare_manifest}'"
84
echo " '${current_manifest}'"
85
86
87
else
88
echo "Verified: '${current_manifest}'"
89
@@ -166,3 +168,7 @@ if (( ${#all_noncodesigned[@]} + ${#all_all[@]} == 0 )); then
166
168
167
169
exit 1
170
fi
171
+
172
+if [ -n "$failure" ]; then
173
+ exit 1
174
+fi
0 commit comments