Fix error when using raw target with opalcore
Commit08276e9
wrongly raise this warning message to error level, fix this. Fixes:08276e9
('Rework check_config and warn on any duplicated option') Signed-off-by: Kairui Song <kasong@redhat.com>
This commit is contained in:
parent
46cc7f46b2
commit
b9a1f461a8
3
kdumpctl
3
kdumpctl
@ -254,8 +254,7 @@ check_config()
|
|||||||
;;
|
;;
|
||||||
raw)
|
raw)
|
||||||
if [ -d "/proc/device-tree/ibm,opal/dump" ]; then
|
if [ -d "/proc/device-tree/ibm,opal/dump" ]; then
|
||||||
derror "WARNING: Won't capture opalcore when 'raw' dump target is used."
|
dwarn "WARNING: Won't capture opalcore when 'raw' dump target is used."
|
||||||
return 1
|
|
||||||
fi
|
fi
|
||||||
config_opt=_target
|
config_opt=_target
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user