On Tue, Mar 23, 2021 at 05:50:07PM +0000, Raphael Ning wrote:
> From: Raphael Ning <[email protected]>
> 
> According to kexec(8) manpage, --status (-S) works with both
> normal kexec (loaded by -l) and crash kernel (loaded by -p) image
> types, and defaults to the latter. However, the implementation does
> not match the description: `kexec -l -S` queries the -p image type
> as if -l were not specified. This is because there is no internal
> flag defined for the normal kexec type, and -S treats the zero flag
> as the trigger for the default behaviour (-p).
> 
> Fix that by making sure the default behaviour for -S is not applied
> when the -l option is present.
> 
> Signed-off-by: Raphael Ning <[email protected]>

Thanks, applied.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to