File 0001-fix-the-validation-of-input.patch of Package pacemaker.38493
From f9622a2ebf6fde84b2a59ad426aeda84503599ed Mon Sep 17 00:00:00 2001
From: liupei <liupei@kylinos.cn>
Date: Thu, 24 Aug 2023 01:15:50 +0800
Subject: [PATCH] fix the validation of input
---
extra/resources/HealthCPU | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: pacemaker-2.1.5+20221208.a3f44794f/extra/resources/HealthCPU
===================================================================
--- pacemaker-2.1.5+20221208.a3f44794f.orig/extra/resources/HealthCPU
+++ pacemaker-2.1.5+20221208.a3f44794f/extra/resources/HealthCPU
@@ -195,7 +195,7 @@ meta-data) meta_data
;;
start) healthcpu_start;;
stop) healthcpu_stop;;
-monitor) healthcpu_monitor;;
+monitor) healthcpu_validate && healthcpu_monitor;;
reload-agent) healthcpu_reload_agent;;
validate-all) healthcpu_validate;;
usage|help) healthcpu_usage