limine-deploy: Use EXIT_FAILURE and EXIT_SUCCESS
This commit is contained in:
parent
4202402bf0
commit
af330e1201
|
@ -317,7 +317,7 @@ static bool _device_write(const void *_buffer, uint64_t loc, size_t count) {
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
int ok = 1;
|
int ok = EXIT_FAILURE;
|
||||||
int force_mbr = 0;
|
int force_mbr = 0;
|
||||||
const uint8_t *bootloader_img = _binary_limine_hdd_bin_data;
|
const uint8_t *bootloader_img = _binary_limine_hdd_bin_data;
|
||||||
size_t bootloader_file_size = sizeof(_binary_limine_hdd_bin_data);
|
size_t bootloader_file_size = sizeof(_binary_limine_hdd_bin_data);
|
||||||
|
@ -680,7 +680,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
fprintf(stderr, "Limine deployed successfully!\n");
|
fprintf(stderr, "Limine deployed successfully!\n");
|
||||||
|
|
||||||
ok = 0;
|
ok = EXIT_SUCCESS;
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
if (cache)
|
if (cache)
|
||||||
|
|
Loading…
Reference in New Issue