bootctl: return 0 instead of EXIT_SUCCESS

This commit is contained in:
Yu Watanabe
2023-03-17 20:40:34 +09:00
parent ab94d98b29
commit 03221e746d
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ int verb_reboot_to_firmware(int argc, char *argv[], void *userdata) {
r = efi_get_reboot_to_firmware();
if (r > 0) {
puts("active");
return EXIT_SUCCESS; /* success */
return 0; /* success */
}
if (r == 0) {
puts("supported");
+2 -2
View File
@@ -211,7 +211,7 @@ int verb_kernel_identify(int argc, char *argv[], void *userdata) {
else
puts("pe");
return EXIT_SUCCESS;
return 0;
}
int verb_kernel_inspect(int argc, char *argv[], void *userdata) {
@@ -236,5 +236,5 @@ int verb_kernel_inspect(int argc, char *argv[], void *userdata) {
} else
puts("Kernel Type: pe");
return EXIT_SUCCESS;
return 0;
}
+1 -1
View File
@@ -489,7 +489,7 @@ static int run(int argc, char *argv[]) {
return log_oom();
puts(path);
return EXIT_SUCCESS;
return 0;
}
/* Open up and mount the image */