kdump.conf: redirect unknown architecture warning to stderr
The warning messages should not be included in the generated files. Redirecting the warning for an unknown architecture to stderr. Signed-off-by: Lichen Liu <lichliu@redhat.com> Reviewed-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
parent
e42a823dae
commit
29fe563644
@ -224,7 +224,7 @@ s390x)
|
||||
x86_64) ;;
|
||||
|
||||
*)
|
||||
echo "Warning: Unknown architecture '$1', using default kdump.conf template."
|
||||
echo "Warning: Unknown architecture '$1', using default kdump.conf template." >&2
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -107,7 +107,7 @@ x86_64)
|
||||
"irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 acpi_no_memhotplug transparent_hugepage=never nokaslr hest_disable novmcoredd cma=0 hugetlb_cma=0"
|
||||
;;
|
||||
*)
|
||||
echo "Warning: Unknown architecture '$1', using default sysconfig template."
|
||||
echo "Warning: Unknown architecture '$1', using default sysconfig template." >&2
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user