Skip to content

Commit 726ba70

Browse files
liutgnucoiby
authored andcommitted
kdump test: Let "kdumpctl start" to output the kdump test status
Resolves: RHEL-96939 Currently "kdumpctl restart" will show the kdump test status to users, also add this to "kdumpctl start", so users can know this as early. In addition, "kdumpctl start" shouldn't return the value of check_vmcore_creation_status(), so "exit 0" is used after check_vmcore_creation_status(). Signed-off-by: Tao Liu <[email protected]>
1 parent af46b15 commit 726ba70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kdumpctl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,6 +2188,8 @@ main()
21882188
derror "Starting kdump: [FAILED]"
21892189
exit 1
21902190
fi
2191+
check_vmcore_creation_status
2192+
exit 0
21912193
;;
21922194
stop)
21932195
if ! stop; then
@@ -2224,6 +2226,7 @@ main()
22242226
exit 1
22252227
fi
22262228
check_vmcore_creation_status
2229+
exit 0
22272230
;;
22282231
rebuild)
22292232
rebuild

0 commit comments

Comments
 (0)