From 69777ccff739bc7563b8bf8d449af9b4ef6c2491 Mon Sep 17 00:00:00 2001 From: "dyoung@redhat.com" Date: Tue, 5 Mar 2013 16:07:37 +0800 Subject: [PATCH] kdumpctl: rename function name check_config check_config is actually checking the files timestamp and rebuilding initrd. Rename it to check_rebuild instead thus check_config can be used for checking config file valid or not. Signed-off-by: Dave Young Acked-by: Vivek Goyal --- kdumpctl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kdumpctl b/kdumpctl index 89975d1..1b01f21 100755 --- a/kdumpctl +++ b/kdumpctl @@ -72,7 +72,7 @@ function check_executable() done } -function check_config() +function check_rebuild() { local extra_modules modified_files="" local _force_rebuild force_rebuild="0" @@ -379,8 +379,7 @@ function start() fi fi - - check_config + check_rebuild if [ $? != 0 ]; then echo "Starting kdump: [FAILED]" return 1