ClusterLabs / resource-agents

Combined repository of OCF agents from the RHCS and Linux-HA projects
GNU General Public License v2.0
493 stars 579 forks source link

SAPInstance: be more resilient against broken kill.sap files #1825

Closed fmherschel closed 1 year ago

fmherschel commented 1 year ago

The code using pid could break, if kill.sap includes unexpected content. Now the scanner checks more focused, if the third element is a number and only let the number pass the scanner.

oalbrigt commented 1 year ago

LGTM.

oalbrigt commented 1 year ago

Thanks.