mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 01:55:22 +03:00
bootctl: print Options only when found
This commit is contained in:
parent
bc6f2e7c62
commit
0876dc1c26
@ -180,7 +180,8 @@ static int show_status(char **args, unsigned n) {
|
||||
printf(" Entry: %s\n", info->loader_entries[info->loader_entry_active].path);
|
||||
}
|
||||
|
||||
printf(" Options: %s\n", strna(info->loader_options_added));
|
||||
if (info->loader_options_added)
|
||||
printf(" Options: %s\n", info->loader_options_added);
|
||||
} else
|
||||
printf("No suitable data is provided by the boot manager. See:\n"
|
||||
" http://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface\n"
|
||||
|
Loading…
Reference in New Issue
Block a user