!157 修复【宕机分析】在线分析vmcore界面单词拼写错误~

Merge pull request !157 from WangTsing-Yan/master
This commit is contained in:
这瓜保熟麻 2022-04-12 02:36:41 +00:00 committed by Gitee
commit 3ec84190a4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ if [[ -f {vmcore_file} && -f {debug_vmlinux} ]];then
crash -x {debug_vmlinux} {vmcore_file}
else
echo -e '\\033[31mVmcore Analyse Run Failed:\\n Error: {debug_vmlinux} or {vmcore_file} Not exists!!! \\033[0m'
echo -e '\\033[32mTO Fix With:\\n Please install kerenl-debuginfo of {kernel_version} and check {vmcore_file} exists!!! \\033[0m'
echo -e '\\033[32mTO Fix With:\\n Please install kernel-debuginfo of {kernel_version} and check {vmcore_file} exists!!! \\033[0m'
echo -e '\\033[32mAnd Then:\\n Try again with Running command: "crash -x {debug_vmlinux} {vmcore_file}" \\033[0m'
fi""".format(vmcore_file=vmcore_file, debug_vmlinux=debug_vmlinux, kernel_version=kernel_version)
print(command)