On 09/28/23 at 03:15pm, Philipp Rudo wrote: ......
+is_sme_or_sev_active() +{
- journalctl -q --dmesg --grep "^Memory Encryption Features active: AMD (SME|SEV)$" >/dev/null 2>&1
j You can use '&>' as short hand to redirect both stdout and stderr, i.e.
s;>/dev/null 2>&1;&>/dev/null;
Anyway, that's just a very minor code cleanup and you don't need to include it.
Reviewed-by: Philipp Rudo prudo@redhat.com
Thanks for careful reviewing, Philipp.