diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-30 07:12:25 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-30 07:12:25 +0100 |
| commit | fb5f1b4ed150087ee22c4ce9864fa9cd04178a9f (patch) | |
| tree | e57a84490249bcc1114c33a290d4d373febd91e2 /util/libreboot-utils | |
| parent | 9400f4ea0bc6e8b7c3fb95dc4906db284d07d903 (diff) | |
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils')
| -rw-r--r-- | util/libreboot-utils/lottery.c | 2 |
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 |
