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@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
Dave Young 2012-06-12 09:42:35 +08:00
parent d5bc608abd
commit 6f312004e9

View File

@ -187,4 +187,4 @@ if [ -z "$DUMP_INSTRUCTION" ]; then
add_dump_code "dump_rootfs" add_dump_code "dump_rootfs"
fi fi
eval "$DUMP_INSTRUCTION && reboot -f" eval "$DUMP_INSTRUCTION; reboot -f"