summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-30 07:12:25 +0100
committerLeah Rowe <leah@libreboot.org>2026-03-30 07:12:25 +0100
commitfb5f1b4ed150087ee22c4ce9864fa9cd04178a9f (patch)
treee57a84490249bcc1114c33a290d4d373febd91e2 /util
parent9400f4ea0bc6e8b7c3fb95dc4906db284d07d903 (diff)
correct exit statusHEADmaster
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/libreboot-utils/lottery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/lottery.c b/util/libreboot-utils/lottery.c
index 921fe838..7370de1b 100644
--- a/util/libreboot-utils/lottery.c
+++ b/util/libreboot-utils/lottery.c
@@ -36,7 +36,7 @@ main(int argc, char **argv)
free_and_set_null(&buf);
fprintf(stderr, "\n%s\n", same ? "You win!" : "You lose!");
- return same ^ 1;
+ return same ? EXIT_SUCCESS : EXIT_FAILURE;
}
static void