Fix kdumpctl showmem
showmem function mistakenly added some noise character before the
real code, it could be some copy-paste error.
Fixes: 1a6cb43a19
This commit is contained in:
parent
5221d4b90c
commit
3578c54ff2
4
kdumpctl
4
kdumpctl
@ -837,8 +837,8 @@ propagate_ssh_key()
|
||||
|
||||
show_reserved_mem()
|
||||
{
|
||||
local mem=3D$(cat /sys/kernel/kexec_crash_size)
|
||||
local mem_mb=3D$(expr $mem / 1024 / 1024)
|
||||
local mem=$(cat /sys/kernel/kexec_crash_size)
|
||||
local mem_mb=$(expr $mem / 1024 / 1024)
|
||||
|
||||
echo "Reserved "$mem_mb"MB memory for crash kernel"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user