summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@google.com>2022-12-20 14:16:42 -0500
committerPeter Jones <pjones@redhat.com>2023-05-02 14:08:57 -0400
commitaae3df086a22aa1727889199f730b9d5dc9de78c (patch)
treeea783b1326a23782022bc3e40ff59472d3db9b02
parent102a658e176b9e0779ba67618ef72eb69021e00a (diff)
downloadefi-boot-shim-aae3df086a22aa1727889199f730b9d5dc9de78c.tar.gz
efi-boot-shim-aae3df086a22aa1727889199f730b9d5dc9de78c.zip
test-sbat: Fix exit code
Fix the `main` function in `test-sbat.c` to return the `status` variable like the other `test-*.c` files. Signed-off-by: Nicholas Bishop <nicholasbishop@google.com>
-rw-r--r--test-sbat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-sbat.c b/test-sbat.c
index 65bc6a84..1bba6e22 100644
--- a/test-sbat.c
+++ b/test-sbat.c
@@ -1187,7 +1187,7 @@ main(void)
test(test_sbat_var_asciz);
- return 0;
+ return status;
}
// vim:fenc=utf-8:tw=75:noet