[kexec-tools] final reboot behavior fix

Dave Young yangrr at fedoraproject.org
Tue Jun 12 01:46:19 UTC 2012


commit 6f312004e92e909cc35da3c776fabbbd7aac37ac
Author: Dave Young <dyoung at redhat.com>
Date:   Tue Jun 12 09:42:35 2012 +0800

    final reboot behavior fix
    
    default action is handled in DUMP_INSTRUCTIONI. If default_action failed
    current logic will cause mount_root_run_init, It does not make much sense.
    
    changes to: let reboot -f does not depend on return status of DUMP_INSTRUCTION
    
    Signed-off-by: Dave Young <dyoung at redhat.com>
    Acked-by: Vivek Goyal <vgoyal at redhat.com>

 dracut-kdump.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dracut-kdump.sh b/dracut-kdump.sh
index 03a3c48..a46024f 100755
--- a/dracut-kdump.sh
+++ b/dracut-kdump.sh
@@ -187,4 +187,4 @@ if [ -z "$DUMP_INSTRUCTION" ]; then
     add_dump_code "dump_rootfs"
 fi
 
-eval "$DUMP_INSTRUCTION && reboot -f"
+eval "$DUMP_INSTRUCTION; reboot -f"


More information about the scm-commits mailing list