summaryrefslogtreecommitdiff
path: root/src/boot/bootctl-reboot-to-firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/bootctl-reboot-to-firmware.c')
-rw-r--r--src/boot/bootctl-reboot-to-firmware.c2
1 files changed, 1 insertions, 1 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");