We should output a message if dump vmcore fails.
Signed-off-by: WANG Chao chaowang@redhat.com --- dracut-kdump.sh | 1 + 1 file changed, 1 insertion(+)
diff --git a/dracut-kdump.sh b/dracut-kdump.sh index 5d18b9a..dea8e9f 100755 --- a/dracut-kdump.sh +++ b/dracut-kdump.sh @@ -314,6 +314,7 @@ if [ $? -ne 0 ]; then fi
if [ $DUMP_RETVAL -ne 0 ]; then + echo "kdump: saving vmcore fail" do_default_action fi