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:
Dave Young 2018-05-24 13:27:02 +08:00
parent 5221d4b90c
commit 3578c54ff2

View File

@ -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"
}