summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/boot/bootctl-reboot-to-firmware.c2
-rw-r--r--src/boot/bootctl-uki.c4
-rw-r--r--src/boot/bootctl.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/boot/bootctl-reboot-to-firmware.c b/src/boot/bootctl-reboot-to-firmware.c
index 77e3ff12a9..91f259768c 100644
--- a/src/boot/bootctl-reboot-to-firmware.c
+++ b/src/boot/bootctl-reboot-to-firmware.c
@@ -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");
diff --git a/src/boot/bootctl-uki.c b/src/boot/bootctl-uki.c
index c0f263d434..b27abc73a1 100644
--- a/src/boot/bootctl-uki.c
+++ b/src/boot/bootctl-uki.c
@@ -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;
}
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index d8de09cab5..f984c3050e 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -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 */