On Tue, Mar 23, 2021 at 05:50:07PM +0000, Raphael Ning wrote: > From: Raphael Ning <raphning@xxxxxxxxxx> > > 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 <raphning@xxxxxxxxxx> Thanks, applied. _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec