Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memory-monitor: Add error tolerance to memory allocation logging in h…
…andler script. Allow the memory-monitor-handler script to proceed even if no memory allocation sites are found in `logread` output. Previously, if `logread` returned no matches for "logMemAllocationSites," the script would terminate due to `set -e`. This change adds `|| :` to handle the potential absence of matches, enabling the script to continue executing subsequent commands. Signed-off-by: Nikolay Martyanov <nikolay@zededa.com>
- Loading branch information