Fix error when using raw target with opalcore

Commit 08276e9 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:
Kairui Song 2020-10-27 17:34:48 +08:00
parent 46cc7f46b2
commit b9a1f461a8

View File

@ -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
;; ;;