From 7f3e8f6acccf1697d1e5f0e69e6841e6beb218b7 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Fri, 15 Apr 2022 15:26:02 +0200 Subject: [PATCH] limine-deploy: Use EXIT_FAILURE and EXIT_SUCCESS --- limine-install/limine-install.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/limine-install/limine-install.c b/limine-install/limine-install.c index 6da96c20..babad188 100644 --- a/limine-install/limine-install.c +++ b/limine-install/limine-install.c @@ -312,7 +312,7 @@ static bool _device_write(const void *_buffer, uint64_t loc, size_t count) { } while (0) int main(int argc, char *argv[]) { - int ok = 1; + int ok = EXIT_FAILURE; int force_mbr = 0; const uint8_t *bootloader_img = _binary_limine_hdd_bin_data; size_t bootloader_file_size = sizeof(_binary_limine_hdd_bin_data); @@ -672,7 +672,7 @@ int main(int argc, char *argv[]) { fprintf(stderr, "Limine installed successfully!\n"); - ok = 0; + ok = EXIT_SUCCESS; cleanup: if (cache)