Skip to content

Commit

Permalink
efibootmgr: Make the default output cleaner
Browse files Browse the repository at this point in the history
Signed-off-by: daizhengwen <[email protected]>
  • Loading branch information
daizhengwen committed Nov 19, 2024
1 parent 0a85e9b commit e47d2ae
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/efibootmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,8 +1139,11 @@ show_vars(const char *prefix)
printf("%c ", (efi_loadopt_attrs(load_option)
& LOAD_OPTION_ACTIVE) ? '*' : ' ');
printf("%s", description);

show_var_path(load_option, boot->data_size);
if(opts.verbose || opts.unicode) {
show_var_path(load_option, boot->data_size);
} else {
printf("\n");
}

fflush(stdout);
}
Expand Down

0 comments on commit e47d2ae

Please sign in to comment.