]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/boot/bootctl.c
Make pager_open() return void
[thirdparty/systemd.git] / src / boot / bootctl.c
index 449eed0bed1f8fef7a45007103b78618d28dffc7..f51fb1c0a4e910e6554f6e103647990854d6c657 100644 (file)
@@ -1286,7 +1286,7 @@ static int verb_status(int argc, char *argv[], void *userdata) {
         r = 0; /* If we couldn't determine the path, then don't consider that a problem from here on, just show what we
                 * can show */
 
-        (void) pager_open(arg_pager_flags);
+        pager_open(arg_pager_flags);
 
         if (is_efi_boot()) {
                 static const struct {
@@ -1444,7 +1444,7 @@ static int verb_list(int argc, char *argv[], void *userdata) {
         if (config.n_entries == 0)
                 log_info("No boot loader entries found.");
         else {
-                (void) pager_open(arg_pager_flags);
+                pager_open(arg_pager_flags);
 
                 printf("Boot Loader Entries:\n");